mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
fix compilation of performance tests
This commit is contained in:
parent
755f650a8d
commit
f20cdc7c8f
@ -7,7 +7,7 @@ double f(const std::string &, double, bool) noexcept {
|
||||
|
||||
int main()
|
||||
{
|
||||
chaiscript::ChaiScript chai(chaiscript::Std_Lib::library());
|
||||
chaiscript::ChaiScript chai;
|
||||
|
||||
chai.add(chaiscript::fun(&f), "f");
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ double f(const std::string &, double, bool) noexcept {
|
||||
|
||||
int main()
|
||||
{
|
||||
chaiscript::ChaiScript chai(chaiscript::Std_Lib::library());
|
||||
chaiscript::ChaiScript chai;
|
||||
|
||||
chai.add(chaiscript::fun(&f), "f");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user