From 4ad661475be86fb53c54b3f1fb6fbebbaf759b56 Mon Sep 17 00:00:00 2001 From: Daniel Guzman Date: Sat, 22 Oct 2016 16:49:53 +0200 Subject: [PATCH] Fix some GCC compiler errors. --- include/chaiscript/chaiscript.hpp | 2 +- include/chaiscript/chaiscript_defines.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/chaiscript/chaiscript.hpp b/include/chaiscript/chaiscript.hpp index 445cf59..f8e512e 100644 --- a/include/chaiscript/chaiscript.hpp +++ b/include/chaiscript/chaiscript.hpp @@ -828,7 +828,7 @@ namespace chaiscript public: ChaiScript(std::vector t_modulepaths = {}, std::vector t_usepaths = {}, - const std::vector &t_opts) + const std::vector &t_opts = {}) : ChaiScript_Basic( chaiscript::Std_Lib::library(), std::make_unique>(), diff --git a/include/chaiscript/chaiscript_defines.hpp b/include/chaiscript/chaiscript_defines.hpp index e711cae..0a76a82 100644 --- a/include/chaiscript/chaiscript_defines.hpp +++ b/include/chaiscript/chaiscript_defines.hpp @@ -220,7 +220,7 @@ namespace chaiscript { static inline std::vector default_options() { return {Options::Load_Modules, Options::External_Scripts}; - }; + } } #endif