Kaydet (Commit) 9617741f authored tarafından Michael Stahl's avatar Michael Stahl

basic: SbCompare_UString_PropertyValue_Impl MSVC workaround

MSVC 2008 with _DEBUG calls this with parameters in wrong order so needs
another overload to make it happy.

Change-Id: I906483ecf5325d7aa742e3d93afb151501374abb
üst e348c88d
......@@ -60,6 +60,12 @@ struct SbCompare_UString_PropertyValue_Impl
{
return lhs.Name.compareTo(rhs) < 0;
}
#ifdef DBG_UTIL
bool operator() (PropertyValue const & lhs, const PropertyValue& rhs)
{
return lhs.Name.compareTo(rhs.Name) < 0;
}
#endif
};
int CDECL SbCompare_Properties_Impl( const void *arg1, const void *arg2 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment