OpenSolaris + SunPro C++ compile fix

This commit is contained in:
Marian Krivos
2009-02-24 22:00:36 +00:00
parent ef850957c5
commit b99f4b6d1f
10 changed files with 35 additions and 17 deletions

View File

@@ -155,7 +155,9 @@ public:
/// when already another element was present, in this case Iterator
/// points to that other element)
{
return insert(std::make_pair(key, value));
// fix: SunPro C++ is silly ...
ValueType valueType(key,value);
return insert(valueType);
}
inline InsRetVal insert(const ValueType& aPair)