Add C++ interface for the libbabeltrace2 `bt_clock_class` API
[babeltrace.git] / src / cpp-common / bt2 / value.hpp
index 314111836c96157dcf8acc4a037bd3b112e2397d..2c4d4dabfa463ce1d931f9e721478a351afe003b 100644 (file)
@@ -79,6 +79,9 @@ enum class ValueType
     MAP = BT_VALUE_TYPE_MAP,
 };
 
+template <typename LibObjT>
+class CommonClockClass;
+
 template <typename LibObjT>
 class CommonValue : public internal::BorrowedObj<LibObjT>
 {
@@ -88,6 +91,9 @@ class CommonValue : public internal::BorrowedObj<LibObjT>
     // Allow insert() to call `val._libObjPtr()`
     friend class CommonMapValue<bt_value>;
 
+    // Allow userAttributes() to call `val._libObjPtr()`
+    friend class CommonClockClass<bt_clock_class>;
+
     // Allow operator==() to call `other._libObjPtr()`
     friend class CommonValue<bt_value>;
     friend class CommonValue<const bt_value>;
This page took 0.023984 seconds and 4 git commands to generate.