summaryrefslogtreecommitdiffstats
path: root/src/debug/timestamp.cpp
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/timestamp.cpp
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/timestamp.cpp')
-rw-r--r--src/debug/timestamp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/timestamp.cpp b/src/debug/timestamp.cpp
index 619c4a18a..14d211ef3 100644
--- a/src/debug/timestamp.cpp
+++ b/src/debug/timestamp.cpp
@@ -28,7 +28,7 @@ std::shared_ptr<std::string> timestamp() {
gchar *value = g_strdup_printf( "%d.%06d", static_cast<gint>(timestamp.tv_sec), static_cast<gint>(timestamp.tv_usec) );
std::shared_ptr<std::string> result = std::make_shared<std::string>(value);
g_free(value);
- return std::move(result);
+ return result;
}
}