Added typename before dependent type (needed by gcc-3.2)

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@72 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
jbouchard 2002-11-04 21:01:14 +00:00
parent 16cf673e13
commit 57bf2d9d90

View file

@ -64,7 +64,7 @@ namespace Loki
bool Register(const IdentifierType& id, ProductCreator creator)
{
return associations_.insert(
IdToProductMap::value_type(id, creator)).second;
typename IdToProductMap::value_type(id, creator)).second;
}
bool Unregister(const IdentifierType& id)
@ -107,7 +107,7 @@ namespace Loki
bool Register(const TypeInfo& ti, ProductCreator creator)
{
return associations_.insert(
IdToProductMap::value_type(ti, creator)).second;
typename IdToProductMap::value_type(ti, creator)).second;
}
bool Unregister(const TypeInfo& id)