We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e8a21 commit b7d7ac4Copy full SHA for b7d7ac4
src/carrot_core/exceptions.h
@@ -41,7 +41,7 @@
41
42
namespace carrot
43
{
44
-#define CARROT_DEFINE_SIMPLE_ERROR_TYPE(e, b) class e: b { using b::b; };
+#define CARROT_DEFINE_SIMPLE_ERROR_TYPE(e, b) class e: public b { using b::b; };
45
46
class carrot_logic_error: public std::logic_error { using std::logic_error::logic_error; };
47
0 commit comments