Skip to content
Snippets Groups Projects
Commit 79a17120 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

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.
parent 709c1eea
No related branches found
No related tags found
No related merge requests found
......@@ -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; }
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment