summaryrefslogtreecommitdiffstats
path: root/src/debug/simple-event.h
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-08-23 15:25:01 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2019-08-23 17:38:10 +0000
commitac61104df7df1b452666a037aeac55d5b71da85d (patch)
tree6240a92eebb158c8785e15342a5db7c0ecf3d0a6 /src/debug/simple-event.h
parentUpdate of Czech translation (diff)
downloadinkscape-ac61104df7df1b452666a037aeac55d5b71da85d.tar.gz
inkscape-ac61104df7df1b452666a037aeac55d5b71da85d.zip
Eliminate clang warnings
-Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some)
Diffstat (limited to 'src/debug/simple-event.h')
-rw-r--r--src/debug/simple-event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/simple-event.h b/src/debug/simple-event.h
index 983ff5346..c753ae1fe 100644
--- a/src/debug/simple-event.h
+++ b/src/debug/simple-event.h
@@ -48,7 +48,7 @@ protected:
_properties.push_back(PropertyPair(name, std::move(value)));
}
void _addProperty(char const *name, char const *value) {
- _addProperty(name, std::move(std::make_shared<std::string>(value)));
+ _addProperty(name, std::make_shared<std::string>(value));
}
void _addProperty(char const *name, long value) {
_addFormattedProperty(name, "%ld", value);