Fix some issues found by cppcheck

This commit is contained in:
Jason Turner
2016-02-14 20:01:49 -07:00
parent e0827634bb
commit bc0eaa5d15
5 changed files with 14 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ namespace chaiscript
{
}
bad_boxed_cast(std::string t_what) CHAISCRIPT_NOEXCEPT
explicit bad_boxed_cast(std::string t_what) CHAISCRIPT_NOEXCEPT
: to(nullptr), m_what(std::move(t_what))
{
}