remove not required ";"

This commit is contained in:
Bernd Amend 2021-05-22 14:09:24 +02:00
parent 1e6263976f
commit c4e1e1965e
2 changed files with 2 additions and 2 deletions

View File

@ -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;
};

View File

@ -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;