mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Somehow, run_script got deelted on this file. Strange.
This commit is contained in:
parent
0079593966
commit
84f367ca23
|
@ -199,7 +199,7 @@ TEST_CASE("tables/functions_variables", "Check if tables and function calls work
|
||||||
// l-value, can optomize
|
// l-value, can optomize
|
||||||
auto lval = object();
|
auto lval = object();
|
||||||
lua.get<sol::table>("os").set_function("fun", &object::operator(), lval);
|
lua.get<sol::table>("os").set_function("fun", &object::operator(), lval);
|
||||||
REQUIRE_NOTHROW((lua));
|
REQUIRE_NOTHROW(run_script(lua));
|
||||||
|
|
||||||
// stateful lambda: non-convertible, unoptomizable
|
// stateful lambda: non-convertible, unoptomizable
|
||||||
int breakit = 50;
|
int breakit = 50;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user