Fixed: Compilation under GCC 4.0.1

This commit is contained in:
kervala 2010-10-03 22:47:27 +02:00
parent 5bee9dd2e6
commit 84aed583cb

View file

@ -1477,7 +1477,7 @@ void displayValueLine( const std::string& propName, const char *valueFormat, con
// This specialisation is necessary to compile it with gcc because of toString( valueFormat, value() )
template <>
inline void displayValueLine<struct CEntityId>( const std::string& propName, const char * /* valueFormat */, const char *typeString, CEntityId*, const CMirroredDataSet *dataset, const TDataSetRow& entityIndex, TPropertyIndex propIndex, const char *flagsString, NLMISC::CLog& log, bool /* typeIsBool */, bool typeIsEntityId )
void displayValueLine<NLMISC::CEntityId>( const std::string& propName, const char * /* valueFormat */, const char *typeString, CEntityId*, const CMirroredDataSet *dataset, const TDataSetRow& entityIndex, TPropertyIndex propIndex, const char *flagsString, NLMISC::CLog& log, bool /* typeIsBool */, bool typeIsEntityId )
{
CMirrorPropValue<CEntityId> value( const_cast<CMirroredDataSet&>(*dataset), entityIndex, propIndex );
TValueToStringFunc valueToString;