From 4a8f7a610e6c048f99050f6e30a00246e1a0ef07 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 16 Jul 2019 18:36:45 -0500 Subject: [PATCH] [ox/std] Fix warning about unused private variable (synced from ffce1dc4dfb92ed0f66b092cc16f4bf21c909282) --- 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 20e8fb10d..d06cbe2a1 100644 --- a/src/ox/std/typetraits.hpp +++ b/src/ox/std/typetraits.hpp @@ -81,7 +81,7 @@ template struct is_class: ox::integral_constant::value && ox::memberable(0)> {}; namespace test { -class TestClass {int i;}; +struct TestClass {int i;}; union TestUnion {int i;}; static_assert(ox::is_class::value == true); static_assert(ox::is_class::value == false);