X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fcpp-common%2Fbt2%2Fself-component-port.hpp;h=10a73bb4bd3a021c58a5cd4722d4fa133a7ec3f5;hb=292762ab236187b1c4546febedf0f450ba3acf77;hp=e1ab809859461f618510b9e9526ee2637e057aee;hpb=53756eaca16229acb05969a1d7278c59fc4d9d72;p=babeltrace.git diff --git a/src/cpp-common/bt2/self-component-port.hpp b/src/cpp-common/bt2/self-component-port.hpp index e1ab8098..10a73bb4 100644 --- a/src/cpp-common/bt2/self-component-port.hpp +++ b/src/cpp-common/bt2/self-component-port.hpp @@ -106,7 +106,7 @@ public: return *this; } - bt2::TraceClass::Shared createTraceClass() const + TraceClass::Shared createTraceClass() const { const auto libObjPtr = bt_trace_class_create(this->libObjPtr()); @@ -114,10 +114,10 @@ public: throw MemoryError {}; } - return bt2::TraceClass::Shared::createWithoutRef(libObjPtr); + return TraceClass::Shared::createWithoutRef(libObjPtr); } - bt2::ClockClass::Shared createClockClass() const + ClockClass::Shared createClockClass() const { const auto libObjPtr = bt_clock_class_create(this->libObjPtr()); @@ -125,7 +125,7 @@ public: throw MemoryError {}; } - return bt2::ClockClass::Shared::createWithoutRef(libObjPtr); + return ClockClass::Shared::createWithoutRef(libObjPtr); } };