Fix: cpp-common/bt2: more specific assertion in `CommonVariantWithIntegerSelectorFiel...
[babeltrace.git] / src / cpp-common / bt2 / field-class.hpp
index b0420c4f61d7a41d00ce9d797ecbe6e3cdcc84a3..c6c4d690ff7870e93b26ee6bc4852630991c3d9c 100644 (file)
@@ -2423,7 +2423,7 @@ public:
     explicit CommonVariantWithIntegerSelectorFieldClass(const LibObjPtr libObjPtr) noexcept :
         _ThisCommonVariantWithSelectorFieldClass {libObjPtr}
     {
-        BT_ASSERT_DBG(this->isVariant());
+        BT_ASSERT_DBG(this->isVariantWithIntegerSelector());
     }
 
     template <typename OtherLibObjT>
This page took 0.028071 seconds and 4 git commands to generate.