projects
/
platform
/
core
/
system
/
libdbuspolicy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11eec3
)
Fix a dangling pointer / needless copy
45/209645/2
author
Michal Bloch
<m.bloch@samsung.com>
Tue, 9 Jul 2019 12:53:34 +0000
(14:53 +0200)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/src/test-serializer.cpp
b/src/test-serializer.cpp
index
2aaf1fd
..
3461301
100644
(file)
--- a/
src/test-serializer.cpp
+++ b/
src/test-serializer.cpp
@@
-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();
}