diff --git a/datatypes/mcs_datatype.h b/datatypes/mcs_datatype.h index abd8a21b9..b699bd172 100644 --- a/datatypes/mcs_datatype.h +++ b/datatypes/mcs_datatype.h @@ -247,7 +247,7 @@ public: @brief The method detects whether decimal type is wide using csc colType. */ - constexpr inline bool isWideDecimalType() const + inline bool isWideDecimalType() const { return (colDataType == DECIMAL || colDataType == UDECIMAL) && @@ -262,7 +262,7 @@ public: @brief The method detects whether decimal type is wide using datatype and width. */ -static constexpr inline bool isWideDecimalType(const datatypes::SystemCatalog::ColDataType &dt, +static inline bool isWideDecimalType(const datatypes::SystemCatalog::ColDataType &dt, const int32_t width) { return width == MAXDECIMALWIDTH && diff --git a/datatypes/mcs_decimal.h b/datatypes/mcs_decimal.h index 3731f1cd6..74fd6935a 100644 --- a/datatypes/mcs_decimal.h +++ b/datatypes/mcs_decimal.h @@ -270,7 +270,7 @@ class Decimal @brief The method detects whether decimal type is wide using precision. */ - static constexpr inline bool isWideDecimalTypeByPrecision(const int32_t precision) + static inline bool isWideDecimalTypeByPrecision(const int32_t precision) { return precision > INT64MAXPRECISION && precision <= INT128MAXPRECISION;