Skip to content

Commit

Permalink
Update DataColumn classes
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Jul 14, 2024
1 parent aff049a commit ce43dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/momo/DataColumn.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class DataEquality<Column>
template<size_t index>
const DataEquality& Get() const noexcept
{
static_assert(index == 0);
MOMO_STATIC_ASSERT(index == 0);
return *this;
}

Expand Down Expand Up @@ -391,7 +391,7 @@ class DataColumn : public DataColumn<internal::DataMutable<TItem>, TStruct, TCod
: mCode(internal::StrHasher::GetHashCode64(name)),
mName(name)
{
static_assert(std::is_same<Code, uint64_t>::value);
MOMO_STATIC_ASSERT((std::is_same<Code, uint64_t>::value));
}

constexpr explicit DataColumn(Code code, const char* name = "") noexcept
Expand Down

0 comments on commit ce43dce

Please sign in to comment.