blob: af03945d13476aff1291efedc7a004323f5e1a67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.1 2006/05/02 13:31:55 joerg Exp $
--- src/Utility/indexedSet.hh.orig 2006-03-19 16:06:06.000000000 +0000
+++ src/Utility/indexedSet.hh
@@ -79,7 +79,7 @@ inline int
IndexedSet<T>::insert(const T& element)
{
pair<typename EltMap::iterator, bool> p =
- eltMap.insert(EltMap::value_type(element, indexMap.size()));
+ eltMap.insert(typename EltMap::value_type(element, indexMap.size()));
if (p.second)
indexMap.push_back(p.first);
return p.first->second;
|