Fix a dangling pointer / needless copy 45/209645/2
authorMichal Bloch <m.bloch@samsung.com>
Tue, 9 Jul 2019 12:53:34 +0000 (14:53 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Tue, 9 Jul 2019 12:58:19 +0000 (14:58 +0200)
Change-Id: I388462ea3d8949f7512228e1b65e4c9ccbc25bdb
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/test-serializer.cpp

index 2aaf1fd..3461301 100644 (file)
@@ -54,7 +54,7 @@ struct TestsHelper {
                return value;
        }
 
-       static const char *to_str(const std::string value) {
+       static const char *to_str(const std::string value) {
                return value.c_str();
        }