diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-07-12 13:19:26 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-07-12 13:19:26 -0400 |
commit | 79a171209f41189adfeb1ba8e70c8570d380cdc5 (patch) | |
tree | fcbc261c42dc625da5920538b75444c5599941cf /indra | |
parent | 709c1eeae90dae106800e3742f3655bd7b590b7b (diff) |
MAINT-1175: Linux viewer built on TC is broken, built on dev box works.
Try to diagnose the cause of the misbehavior with a BOOST_STATIC_ASSERT.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/llregistry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llregistry.h b/indra/llcommon/llregistry.h index 8eeab59024..babc1b87aa 100644 --- a/indra/llcommon/llregistry.h +++ b/indra/llcommon/llregistry.h @@ -36,6 +36,8 @@ template <typename T> struct LLRegistryDefaultComparator { + // It would be Bad if this comparison were used for const char* + BOOST_STATIC_ASSERT(! (boost::is_same<typename boost::remove_const<typename boost::remove_pointer<T>::type>::type, char>::value)); bool operator()(const T& lhs, const T& rhs) const { return lhs < rhs; } }; |