Move to using the new constructor that searched for the stdlib

to improve compile time.
This commit is contained in:
Jason Turner
2012-06-04 07:31:20 -06:00
parent 30104cc3ed
commit b7e1cf41e5
9 changed files with 14 additions and 22 deletions

View File

@@ -1,5 +1,4 @@
#include <chaiscript/utility/utility.hpp>
#include <chaiscript/chaiscript_stdlib.hpp>
class Test
{
@@ -37,7 +36,7 @@ int main()
{ {chaiscript::fun(&Test::count), "count"} }
);
chaiscript::ChaiScript chai(chaiscript::Std_Lib::library());
chaiscript::ChaiScript chai;
chai.add(m);
// chai.add(chaiscript::fun(&Test::count), "count");