From ac61104df7df1b452666a037aeac55d5b71da85d Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Fri, 23 Aug 2019 17:25:01 +0200 Subject: Eliminate clang warnings -Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some) --- src/debug/timestamp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debug/timestamp.cpp') 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 timestamp() { gchar *value = g_strdup_printf( "%d.%06d", static_cast(timestamp.tv_sec), static_cast(timestamp.tv_usec) ); std::shared_ptr result = std::make_shared(value); g_free(value); - return std::move(result); + return result; } } -- cgit v1.2.3