diff --git a/include/momo/DataColumn.h b/include/momo/DataColumn.h index b77c60ad..2ca83c63 100644 --- a/include/momo/DataColumn.h +++ b/include/momo/DataColumn.h @@ -284,7 +284,7 @@ class DataEquality template const DataEquality& Get() const noexcept { - static_assert(index == 0); + MOMO_STATIC_ASSERT(index == 0); return *this; } @@ -391,7 +391,7 @@ class DataColumn : public DataColumn, TStruct, TCod : mCode(internal::StrHasher::GetHashCode64(name)), mName(name) { - static_assert(std::is_same::value); + MOMO_STATIC_ASSERT((std::is_same::value)); } constexpr explicit DataColumn(Code code, const char* name = "") noexcept