projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpp-common/uuid-view: use string::operator[] instead of string::data to access intern...
[babeltrace.git]
/
src
/
cpp-common
/
uuid-view.hpp
diff --git
a/src/cpp-common/uuid-view.hpp
b/src/cpp-common/uuid-view.hpp
index 35b0b0624180e2b0654fc6a4bf3c5c2d3c02622e..15becec04706ea62d444756056a2ec8a2d2b9471 100644
(file)
--- a/
src/cpp-common/uuid-view.hpp
+++ b/
src/cpp-common/uuid-view.hpp
@@
-40,7
+40,7
@@
public:
std::string s;
s.resize(BT_UUID_STR_LEN);
- bt_uuid_to_str(_mUuid,
s.data()
);
+ bt_uuid_to_str(_mUuid,
&s[0]
);
return s;
}
This page took
0.023666 seconds
and
4
git commands to generate.