From c4e1e1965ef217c567bf92042055ff1528515256 Mon Sep 17 00:00:00 2001 From: Bernd Amend Date: Sat, 22 May 2021 14:09:24 +0200 Subject: [PATCH] remove not required ";" --- include/chaiscript/dispatchkit/type_conversions.hpp | 2 +- unittests/compiled_tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;