cpp-common/bt2: use classes from `cpp-common/exc.hpp`
[babeltrace.git] / src / cpp-common / bt2 / clock-snapshot.hpp
index 9bd7a6d6fd3d7184c2996d5c1b10b005a478191b..643a229e1cdb3730bd4e04778c05e2b4b80f6876 100644 (file)
@@ -11,7 +11,7 @@
 #include <babeltrace2/babeltrace.h>
 
 #include "internal/borrowed-obj.hpp"
-#include "lib-error.hpp"
+#include "exc.hpp"
 
 namespace bt2 {
 
@@ -49,7 +49,7 @@ public:
         const auto status = bt_clock_snapshot_get_ns_from_origin(this->libObjPtr(), &nsFromOrigin);
 
         if (status == BT_CLOCK_SNAPSHOT_GET_NS_FROM_ORIGIN_STATUS_OVERFLOW_ERROR) {
-            throw LibOverflowError {};
+            throw OverflowError {};
         }
 
         return nsFromOrigin;
This page took 0.02396 seconds and 4 git commands to generate.