remove GCC extension use

This commit is contained in:
sshumakov3
2021-01-15 15:33:16 +03:00
parent 09b852cef6
commit 8b8ff80ce1

View File

@@ -76,7 +76,7 @@ public:
{
auto value = D::value(widget);
if constexpr (std::is_same<typeof(value), nullptr_t>::value)
if constexpr (std::is_same<decltype(value), nullptr_t>::value)
{
auto data_ptr = std::make_shared<GenericData<Ty, type_id, type_name, C, D>>();
data_ptr.reset();