From 276c934f332c1df3865c1640fac47ce66208001a Mon Sep 17 00:00:00 2001 From: Drew Rife Date: Wed, 13 Mar 2024 06:32:39 -0400 Subject: [PATCH] refactor: make assignment operators non-constexpr --- include/etl/type_def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/etl/type_def.h b/include/etl/type_def.h index f09a689e5..6f0071bb1 100644 --- a/include/etl/type_def.h +++ b/include/etl/type_def.h @@ -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;