diff options
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; |