Fix GCC 14 -Wtemplate-id-cdtor warnings

Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit a5c8106f92)
This commit is contained in:
Haoyu Qiu
2024-05-11 15:07:19 +08:00
committed by Rémi Verschelde
parent 004ce6d698
commit 470ef4d63e
2 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ public:
}
}
_ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) {
_ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast<T>(0)) {
set(p_value);
}
};
@ -257,7 +257,7 @@ public:
}
}
_ALWAYS_INLINE_ explicit SafeNumeric<T>(T p_value = static_cast<T>(0)) :
_ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast<T>(0)) :
value(p_value) {
}
};