|
From: stephan b. <sg...@us...> - 2004-12-24 19:26:35
|
Update of /cvsroot/pclasses/pclasses2/src/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1293/src/System Modified Files: SharedLib.generic.cpp Log Message: Removed the #ifdef PCLASSES_HAVE_STL blockers. Christian agreed over email that we need STL. Index: SharedLib.generic.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/System/SharedLib.generic.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- SharedLib.generic.cpp 23 Dec 2004 21:50:44 -0000 1.3 +++ SharedLib.generic.cpp 24 Dec 2004 19:26:23 -0000 1.4 @@ -1,21 +1,14 @@ #include "pclasses/Phoenix.h" #include "pclasses/System/SharedLib.h" -#ifdef PCLASSES_WITH_STL -# include <list> -#endif +#include <list> namespace P { namespace System { -#ifdef PCLASSES_WITH_STL void* SharedLib::operator[](const std::string& symbol) throw(RuntimeError) { return operator[](symbol.c_str()); } -#endif - - -#ifdef PCLASSES_WITH_STL /** An internal helper type to clean up a list of SharedLib @@ -83,8 +76,5 @@ return sh; } -#endif // PCLASSES_WITH_STL - - } } // namespace P::System |