Patchwork Tweak two libstdc++ tests

login
register
mail settings
Submitter Jonathan Wakely
Date Feb. 20, 2013, 9:23 p.m.
Message ID <CAH6eHdQO96rC53iU+Z5vFCS8pFvKXwgczFLspmUEpeg1b+nmHg@mail.gmail.com>
Download mbox | patch
Permalink /patch/222149/
State New
Headers show

Comments

Jonathan Wakely - Feb. 20, 2013, 9:23 p.m.
* testsuite/23_containers/unordered_set/55043.cc: Add missing
        namespace qualification.
        * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.

Tested x86_64-linux, committed to trunk.
commit a6d9aa71b453ad2cf7b1cbd581fa04603728bad6
Author: Jonathan Wakely <jwakely.gcc@gmail.com>
Date:   Wed Feb 20 21:23:17 2013 +0000

    	* testsuite/23_containers/unordered_set/55043.cc: Add missing
    	namespace qualification.
    	* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.

Patch

diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc
index 445e4e4..9d71cff 100644
--- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc
+++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/55043.cc
@@ -33,7 +33,7 @@  struct equal {
   bool operator()(const MoveOnly&, const MoveOnly) const { return true; }
 };
 struct hash {
-  size_t operator()(const MoveOnly&) const { return 0; }
+  std::size_t operator()(const MoveOnly&) const { return 0; }
 };
 
 template<typename Alloc>
diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc
index e5ba065..1524890 100644
--- a/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc
+++ b/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc
@@ -33,7 +33,7 @@  struct equal {
   bool operator()(const MoveOnly&, const MoveOnly) const { return true; }
 };
 struct hash {
-  size_t operator()(const MoveOnly&) const { return 0; }
+  std::size_t operator()(const MoveOnly&) const { return 0; }
 };
 
 template<typename Alloc>