From ffce1dc4dfb92ed0f66b092cc16f4bf21c909282 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 --- deps/ox/src/ox/std/typetraits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/typetraits.hpp b/deps/ox/src/ox/std/typetraits.hpp index 20e8fb10..d06cbe2a 100644 --- a/deps/ox/src/ox/std/typetraits.hpp +++ b/deps/ox/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);