remove problematic luabind code
This commit is contained in:
parent
75f77783ff
commit
acbba95032
@ -87,10 +87,11 @@ ScriptingEnvironment::ScriptingEnvironment(const char * fileName) {
|
|||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
luabind::module(myLuaState) [
|
// fails on c++11/OS X 10.9
|
||||||
luabind::class_<std::vector<std::string> >("vector")
|
// luabind::module(myLuaState) [
|
||||||
.def("Add", &std::vector<std::string>::push_back)
|
// luabind::class_<std::vector<std::string> >("vector")
|
||||||
];
|
// .def("Add", &std::vector<std::string>::push_back)
|
||||||
|
// ];
|
||||||
|
|
||||||
if(0 != luaL_dofile(myLuaState, fileName) ) {
|
if(0 != luaL_dofile(myLuaState, fileName) ) {
|
||||||
throw OSRMException("ERROR occured in scripting block");
|
throw OSRMException("ERROR occured in scripting block");
|
||||||
|
Loading…
Reference in New Issue
Block a user