nat_linden committed 298f736

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.

Comments (0)

Files changed (1)


 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; }