cpp-common/bt2: make `CommonClockClass::uuid` take a `bt2c::UuidView`
[babeltrace.git] / src / cpp-common / bt2 / clock-class.hpp
index e8780c385a3f340e6a667bec073e1abb6d38afd7..ad033b0e5587b71fa72e8d1f235362f987ae011b 100644 (file)
@@ -213,9 +213,9 @@ public:
         return bt_clock_class_get_description(this->libObjPtr());
     }
 
-    CommonClockClass uuid(const std::uint8_t * const uuid) const noexcept
+    CommonClockClass uuid(const bt2c::UuidView uuid) const noexcept
     {
-        bt_clock_class_set_uuid(this->libObjPtr(), uuid);
+        bt_clock_class_set_uuid(this->libObjPtr(), uuid.data());
         return *this;
     }
 
This page took 0.023834 seconds and 4 git commands to generate.