sourcehook/test/test2.cpp
changeset 162 a95db73792e5
parent 49 ec95d7681407
child 294 0d87bc8606f8
     1.1 --- a/sourcehook/test/test2.cpp	Thu Dec 22 21:00:54 2005 +0000
     1.2 +++ b/sourcehook/test/test2.cpp	Fri Dec 23 11:58:11 2005 +0000
     1.3 @@ -1,5 +1,5 @@
     1.4  #include <string>
     1.5 -#include "sourcehook_impl.h"
     1.6 +#include "sourcehook_test.h"
     1.7  #include "testevents.h"
     1.8  #include <stdarg.h>
     1.9  
    1.10 @@ -89,8 +89,7 @@
    1.11  
    1.12  bool TestVafmtAndOverload(std::string &error)
    1.13  {
    1.14 -	SourceHook::CSourceHookImpl g_SHImpl;
    1.15 -	g_SHPtr = &g_SHImpl;
    1.16 +	GET_SHPTR(g_SHPtr);
    1.17  	g_PLID = 1337;	
    1.18  
    1.19  	IGaben gabgab;