Skip to content

Commit

Permalink
refactor: make assignment operators non-constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
drewr95 committed Mar 13, 2024
1 parent f42e65a commit 276c934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/etl/type_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,14 @@ namespace etl
}

//*********************************************************************
ETL_CONSTEXPR type_def& operator =(TValue rhs)
type_def& operator =(TValue rhs)
{
value = rhs;
return *this;
}

//*********************************************************************
ETL_CONSTEXPR type_def& operator =(const type_def& rhs)
type_def& operator =(const type_def& rhs)
{
value = rhs.value;
return *this;
Expand Down

0 comments on commit 276c934

Please sign in to comment.