diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2017-02-03 10:34:01 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2017-02-03 10:34:01 -0500 |
commit | c2c4a1e8514dc8a0df8e9d2f7b2e743691ef7ce3 (patch) | |
tree | ad5b004306a1581e2d41e5f2009514f6468d20ab /indra | |
parent | 434f0e161aa7b378ff16d526e104e580ba367ab2 (diff) |
DRTVWR-418: Make operator()() method for comparator functor const.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/llheteromap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llheteromap.h b/indra/llcommon/llheteromap.h index 9d6f303d08..7e96172333 100644 --- a/indra/llcommon/llheteromap.h +++ b/indra/llcommon/llheteromap.h @@ -77,7 +77,7 @@ private: // not always equal &typeid(A) in some other part. Use special comparator. struct type_info_ptr_comp { - bool operator()(const std::type_info* lhs, const std::type_info* rhs) + bool operator()(const std::type_info* lhs, const std::type_info* rhs) const { return lhs->before(*rhs); } |