cpp-common/bt2: add and use `bt2::internal::Dep*` type alias templates
[babeltrace.git] / src / cpp-common / bt2 / clock-class.hpp
index 589526ed96223223946ea44ec5e1fab20baa45bb..48ff132e062ba5ba3ba7d206119fa560014817fb 100644 (file)
@@ -101,8 +101,7 @@ private:
 public:
     using Shared = SharedObject<_ThisCommonClockClass, LibObjT, internal::ClockClassRefFuncs>;
 
-    using UserAttributes =
-        typename std::conditional<std::is_const<LibObjT>::value, ConstMapValue, MapValue>::type;
+    using UserAttributes = internal::DepUserAttrs<LibObjT>;
 
     explicit CommonClockClass(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr}
     {
This page took 0.037848 seconds and 4 git commands to generate.