diff options
Diffstat (limited to 'src/GCodes/GCodeException.h')
-rw-r--r-- | src/GCodes/GCodeException.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodeException.h b/src/GCodes/GCodeException.h index 67f8f6ad..c1129c34 100644 --- a/src/GCodes/GCodeException.h +++ b/src/GCodes/GCodeException.h @@ -19,7 +19,7 @@ namespace StackUsage class GCodeException { public: - GCodeException(const char *msg) noexcept: line(-1), column(-1), message(msg), haveStringParam(false) { } + explicit GCodeException(const char *msg) noexcept: line(-1), column(-1), message(msg), haveStringParam(false) { } GCodeException(int lin, int col, const char *msg) noexcept : line(lin), column(col), message(msg), haveStringParam(false) { } |