diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-07 13:51:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-07 13:51:23 +0200 |
commit | 2a6f06ae44a80a5ebdc1b6188b11634fbb0e8741 (patch) | |
tree | ec632db851d165defead84dc65ca537e850d64d2 /common/container/basics/test.hxx | |
parent | 9c304207722ff9e2794ba25bb496858f089e4a2a (diff) |
Fix to use traditional const style
Diffstat (limited to 'common/container/basics/test.hxx')
-rw-r--r-- | common/container/basics/test.hxx | 2 |
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; |