cpp-common/uuid-view: use string::operator[] instead of string::data to access intern...
[babeltrace.git] / src / cpp-common / uuid-view.hpp
index 35b0b0624180e2b0654fc6a4bf3c5c2d3c02622e..15becec04706ea62d444756056a2ec8a2d2b9471 100644 (file)
@@ -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.026134 seconds and 4 git commands to generate.