diff --git a/libretroshare/src/dbase/findex.cc b/libretroshare/src/dbase/findex.cc index 368c1b74b..d925cbadc 100644 --- a/libretroshare/src/dbase/findex.cc +++ b/libretroshare/src/dbase/findex.cc @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -50,7 +51,7 @@ static const char FILE_CACHE_SEPARATOR_CHAR = '|' ; ****/ static RsMutex FIndexPtrMtx ; -std::set FileIndex::_pointers ; +std::tr1::unordered_set FileIndex::_pointers ; void FileIndex::registerEntry(void*p) { diff --git a/libretroshare/src/dbase/findex.h b/libretroshare/src/dbase/findex.h index bd0eea2a6..29c4089d4 100644 --- a/libretroshare/src/dbase/findex.h +++ b/libretroshare/src/dbase/findex.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -245,7 +246,7 @@ class FileIndex PersonEntry *root; - static std::set _pointers ; + static std::tr1::unordered_set _pointers ; static void registerEntry(void*p) ; static void unregisterEntry(void*p) ; static bool isValid(void*p) ;