sourcehook/test/test3.cpp
changeset 162 a95db73792e5
parent 133 ffe46578a1ae
child 294 0d87bc8606f8
     1.1 --- a/sourcehook/test/test3.cpp	Thu Dec 22 21:00:54 2005 +0000
     1.2 +++ b/sourcehook/test/test3.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  
     1.9  // TEST3
    1.10 @@ -69,8 +69,7 @@
    1.11  
    1.12  bool TestThisPtrOffs(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  	Derived inst;