cpp-common: add `bt2s::optional`, alias of `nonstd::optional`
[babeltrace.git] / src / cpp-common / bt2 / clock-class.hpp
index 64e093f40004a7c6f33f0cd4c6f1b443854714a7..6d99ed1f1fc0a8cdba7883d5d7f9ce0b195e0239 100644 (file)
@@ -14,7 +14,7 @@
 #include <babeltrace2/babeltrace.h>
 
 #include "cpp-common/bt2c/uuid-view.hpp"
-#include "cpp-common/optional.hpp"
+#include "cpp-common/bt2s/optional.hpp"
 
 #include "borrowed-object.hpp"
 #include "exc.hpp"
@@ -219,7 +219,7 @@ public:
         bt_clock_class_set_uuid(this->libObjPtr(), uuid);
     }
 
-    nonstd::optional<bt2c::UuidView> uuid() const noexcept
+    bt2s::optional<bt2c::UuidView> uuid() const noexcept
     {
         const auto uuid = bt_clock_class_get_uuid(this->libObjPtr());
 
@@ -227,7 +227,7 @@ public:
             return bt2c::UuidView {uuid};
         }
 
-        return nonstd::nullopt;
+        return bt2s::nullopt;
     }
 
     template <typename LibValT>
This page took 0.025991 seconds and 4 git commands to generate.