also compile with gcc

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@583 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-03-03 11:58:24 +00:00
parent e320b0113d
commit bc355b1b0a
2 changed files with 7 additions and 5 deletions

View file

@ -12,14 +12,13 @@
// $Header:
#include <singletondll.h>
#include "singletondll.h"
#include "foo.h"
typedef Loki::SingletonHolder<Foo> FooSingleton;
LOKI_SINGLETON_INSTANCE_DEFINITION(FooSingleton)
/*
// code generated by the macro:
@ -29,11 +28,11 @@ Foo& Loki::Singleton<Foo>::Instance()
};
*/
template<>
Foo& Singleton<Foo>::Instance()
{
return FooSingleton::Instance();
};
}