mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-07 10:19:57 +08:00
remove not required ";"
This commit is contained in:
parent
1e6263976f
commit
c4e1e1965e
@ -35,7 +35,7 @@ namespace chaiscript
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
conversion_error(const Type_Info t_to, const Type_Info t_from, const utility::Static_String what) noexcept
|
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;
|
Type_Info type_to;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1406,7 +1406,7 @@ TEST_CASE("Throw an exception when trying to add same conversion twice")
|
|||||||
{
|
{
|
||||||
struct my_int {
|
struct my_int {
|
||||||
int value;
|
int value;
|
||||||
my_int(int val): value(val) {};
|
my_int(int val): value(val) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
chaiscript::ChaiScript chai;
|
chaiscript::ChaiScript chai;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user