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:
authorDavid Crocker <dcrocker@eschertech.com>2021-10-31 20:13:29 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-31 20:13:29 +0300
commit9b90cdf445b9893eb93c02317ef87965ec60657f (patch)
tree4d586fe0b033528dcfaa31477dec2e2cef716c88 /src/GCodes/GCodeException.h
parentc0b1908a673e62e8553264f31057843d11a27bc5 (diff)
Annotations for static analysis
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) { }