From 304fca0a9066d01f8d393dfd96075727d2c6321c Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 22 Jan 2022 00:52:55 -0500 Subject: [PATCH 1/2] Update RaylibException.hpp --- include/RaylibException.hpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/include/RaylibException.hpp b/include/RaylibException.hpp index 49a0be2..059ca15 100644 --- a/include/RaylibException.hpp +++ b/include/RaylibException.hpp @@ -11,16 +11,9 @@ namespace raylib { class RaylibException : public std::runtime_error { protected: public: - RaylibException(std::string msg) throw() : std::runtime_error(msg) - { - - } - - - /** Destructor. - * Virtual to allow for subclassing. - */ - //virtual ~Except() throw () {} + RaylibException(std::string msg) throw() : std::runtime_error(msg) { + // Nothing + } /** * Outputs the exception message to TraceLog(). From 65901b60a85bc681f63dddfa89782eb6630981c9 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 22 Jan 2022 11:26:10 -0500 Subject: [PATCH 2/2] Update include/RaylibException.hpp Co-authored-by: ColdFlame1 --- include/RaylibException.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/RaylibException.hpp b/include/RaylibException.hpp index 059ca15..68be6a9 100644 --- a/include/RaylibException.hpp +++ b/include/RaylibException.hpp @@ -5,7 +5,7 @@ #include -#include "raylib.h" +#include "./raylib.hpp" namespace raylib { class RaylibException : public std::runtime_error {