diff --git a/include/chaiscript/dispatchkit/type_conversions.hpp b/include/chaiscript/dispatchkit/type_conversions.hpp index 5daee88a..d5c3f276 100644 --- a/include/chaiscript/dispatchkit/type_conversions.hpp +++ b/include/chaiscript/dispatchkit/type_conversions.hpp @@ -35,7 +35,7 @@ namespace chaiscript { public: conversion_error(const Type_Info t_to, const Type_Info t_from, const utility::Static_String what) noexcept - : bad_boxed_cast(t_from, (*t_to.bare_type_info()), what), type_to(t_to) {}; + : bad_boxed_cast(t_from, (*t_to.bare_type_info()), what), type_to(t_to) {} Type_Info type_to; }; diff --git a/unittests/compiled_tests.cpp b/unittests/compiled_tests.cpp index 32e4a96b..5dc287f0 100644 --- a/unittests/compiled_tests.cpp +++ b/unittests/compiled_tests.cpp @@ -1406,7 +1406,7 @@ TEST_CASE("Throw an exception when trying to add same conversion twice") { struct my_int { int value; - my_int(int val): value(val) {}; + my_int(int val): value(val) {} }; chaiscript::ChaiScript chai;