aboutsummaryrefslogtreecommitdiff
path: root/odb/details/meta/class-p.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/meta/class-p.hxx')
-rw-r--r--odb/details/meta/class-p.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/odb/details/meta/class-p.hxx b/odb/details/meta/class-p.hxx
index fd28b1c..80c1b27 100644
--- a/odb/details/meta/class-p.hxx
+++ b/odb/details/meta/class-p.hxx
@@ -18,13 +18,14 @@ namespace odb
{
// g++ cannot have these inside class_p.
//
- template <typename Y> no class_p_test (...);
- template <typename Y> yes class_p_test (void (Y::*) ());
+ template <typename X> no class_p_test (...);
+ template <typename X> yes class_p_test (void (X::*) ());
template <typename X>
struct class_p
{
- static const bool r = sizeof (class_p_test<X> (0)) == sizeof (yes);
+ static const bool result =
+ sizeof (class_p_test<X> (0)) == sizeof (yes);
};
}
}