summaryrefslogtreecommitdiff
path: root/tests/tolua/test1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tolua/test1.cpp')
-rwxr-xr-xtests/tolua/test1.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/tolua/test1.cpp b/tests/tolua/test1.cpp
index a2e91cb..fe2801a 100755
--- a/tests/tolua/test1.cpp
+++ b/tests/tolua/test1.cpp
@@ -17,9 +17,7 @@ int main( int /* argc */, char *argv[] )
vector<string> modules;
modules.push_back( "./libtest1/mod_test.so" );
- ModuleLoader<Base> loader( modules );
-
- Logger::instance( ).openConsoleLog( logDEBUG );
+ ModuleLoader<Base> loader( modules, (void *)&luaVm );
luaVm.loadSource( argv[1] );
luaVm.executeMain( );