Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/GCodes/GCodeException.h')
-rw-r--r--src/GCodes/GCodeException.h2
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) { }