mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 01:06:54 +08:00
Fix warnings in memory_leak_test
This commit is contained in:
parent
e3feb05e05
commit
ac0688a8d7
@ -44,9 +44,9 @@ public:
|
|||||||
chai.set_state(backupState);
|
chai.set_state(backupState);
|
||||||
chai.add(fun(&fuction),"Whatever()");
|
chai.add(fun(&fuction),"Whatever()");
|
||||||
}
|
}
|
||||||
|
|
||||||
void RunFile(std::string sFile)
|
void RunFile(std::string sFile)
|
||||||
{
|
{
|
||||||
chaiscript::Boxed_Value val;
|
|
||||||
try {
|
try {
|
||||||
chaiscript::Boxed_Value val = chai.eval_file(sFile);
|
chaiscript::Boxed_Value val = chai.eval_file(sFile);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user