diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-10-31 20:13:29 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-10-31 20:13:29 +0300 |
commit | 9b90cdf445b9893eb93c02317ef87965ec60657f (patch) | |
tree | 4d586fe0b033528dcfaa31477dec2e2cef716c88 /src/GCodes | |
parent | c0b1908a673e62e8553264f31057843d11a27bc5 (diff) |
Annotations for static analysis
Diffstat (limited to 'src/GCodes')
-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) { } |