MAP = BT_VALUE_TYPE_MAP,
};
+template <typename LibObjT>
+class CommonClockClass;
+
template <typename LibObjT>
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>;