aboutsummaryrefslogtreecommitdiff
path: root/common/container/basics/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-07 13:51:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-07 13:51:23 +0200
commit2a6f06ae44a80a5ebdc1b6188b11634fbb0e8741 (patch)
treeec632db851d165defead84dc65ca537e850d64d2 /common/container/basics/test.hxx
parent9c304207722ff9e2794ba25bb496858f089e4a2a (diff)
Fix to use traditional const style
Diffstat (limited to 'common/container/basics/test.hxx')
-rw-r--r--common/container/basics/test.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/container/basics/test.hxx b/common/container/basics/test.hxx
index 8ac8290..b2dd4b4 100644
--- a/common/container/basics/test.hxx
+++ b/common/container/basics/test.hxx
@@ -71,7 +71,7 @@ typedef std::map<comp, std::string> comp_str_map;
struct comp_hash
{
std::size_t
- operator() (comp const& x) const {return nh (x.num) + sh (x.str);}
+ operator() (const comp& x) const {return nh (x.num) + sh (x.str);}
std::hash<int> nh;
std::hash<std::string> sh;