summaryrefslogtreecommitdiffstats
path: root/src/util/expression-evaluator.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-15 17:02:56 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-18 12:27:01 +0000
commit004e50d84773242a000f5cadb89466bbc793e1a8 (patch)
tree019c32e65caa08fe7cf90b521787531a7b1d2225 /src/util/expression-evaluator.h
parentRun clang-tidy’s modernize-use-nullptr pass. (diff)
downloadinkscape-004e50d84773242a000f5cadb89466bbc793e1a8.tar.gz
inkscape-004e50d84773242a000f5cadb89466bbc793e1a8.zip
Run clang-tidy’s modernize-use-equals-default pass.
This replaces empty constructors and destructors with the default keyword.
Diffstat (limited to 'src/util/expression-evaluator.h')
-rw-r--r--src/util/expression-evaluator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/expression-evaluator.h b/src/util/expression-evaluator.h
index bb29d7f26..23b431a8e 100644
--- a/src/util/expression-evaluator.h
+++ b/src/util/expression-evaluator.h
@@ -177,7 +177,7 @@ public:
msgstr = os.str();
}
- ~EvaluatorException() throw() override {} // necessary to destroy the string object!!!
+ ~EvaluatorException() throw() override = default; // necessary to destroy the string object!!!
const char *what() const throw () override {
return msgstr.c_str();