From f20cdc7c8f14956844238499f12186fee23b02f3 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 21 Jul 2017 05:59:45 -0600 Subject: [PATCH] fix compilation of performance tests --- performance_tests/profile_cpp_calls_2.cpp | 2 +- performance_tests/profile_fun_wrappers.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/performance_tests/profile_cpp_calls_2.cpp b/performance_tests/profile_cpp_calls_2.cpp index 0424654b..aa87fc03 100644 --- a/performance_tests/profile_cpp_calls_2.cpp +++ b/performance_tests/profile_cpp_calls_2.cpp @@ -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"); diff --git a/performance_tests/profile_fun_wrappers.cpp b/performance_tests/profile_fun_wrappers.cpp index fb96f483..119f6929 100644 --- a/performance_tests/profile_fun_wrappers.cpp +++ b/performance_tests/profile_fun_wrappers.cpp @@ -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");