X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fcpp-common%2Fbt2%2Fvalue.hpp;h=7388c3403a7558c0e94fefcd8527a2fdac80c249;hb=bd6e66fd0c3012ad6bcb03cdb3fb687767fb6ccf;hp=14ae5a2b3b7f325dde5be3c6582fde908506fc3f;hpb=5ca48ae961d956ce188ff45b2d2c04127874276a;p=babeltrace.git diff --git a/src/cpp-common/bt2/value.hpp b/src/cpp-common/bt2/value.hpp index 14ae5a2b..7388c340 100644 --- a/src/cpp-common/bt2/value.hpp +++ b/src/cpp-common/bt2/value.hpp @@ -1426,49 +1426,42 @@ CommonNullValue CommonValue::asNull() const noexcept template CommonBoolValue CommonValue::asBool() const noexcept { - BT_ASSERT_DBG(this->isBool()); return CommonBoolValue {this->libObjPtr()}; } template CommonSignedIntegerValue CommonValue::asSignedInteger() const noexcept { - BT_ASSERT_DBG(this->isSignedInteger()); return CommonSignedIntegerValue {this->libObjPtr()}; } template CommonUnsignedIntegerValue CommonValue::asUnsignedInteger() const noexcept { - BT_ASSERT_DBG(this->isUnsignedInteger()); return CommonUnsignedIntegerValue {this->libObjPtr()}; } template CommonRealValue CommonValue::asReal() const noexcept { - BT_ASSERT_DBG(this->isReal()); return CommonRealValue {this->libObjPtr()}; } template CommonStringValue CommonValue::asString() const noexcept { - BT_ASSERT_DBG(this->isString()); return CommonStringValue {this->libObjPtr()}; } template CommonArrayValue CommonValue::asArray() const noexcept { - BT_ASSERT_DBG(this->isArray()); return CommonArrayValue {this->libObjPtr()}; } template CommonMapValue CommonValue::asMap() const noexcept { - BT_ASSERT_DBG(this->isMap()); return CommonMapValue {this->libObjPtr()}; }