From df0692fb936948a9577c82b14de8a390ccfb7c68 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 13 Apr 2024 00:10:09 -0500 Subject: [PATCH] [ox/std] Cleanup (synced from abc076d657134381d4ba2d3d95e4e68a7ba90270) --- src/ox/std/typetraits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ox/std/typetraits.hpp b/src/ox/std/typetraits.hpp index 5810b245a..4b480f474 100644 --- a/src/ox/std/typetraits.hpp +++ b/src/ox/std/typetraits.hpp @@ -143,7 +143,7 @@ template constexpr bool memberable(...) { return false; } template -struct is_class: integral_constant::value && memberable(0)> {}; +struct is_class: integral_constant && memberable(nullptr)> {}; namespace test { struct TestClass {int i;};