aboutsummaryrefslogtreecommitdiff
path: root/odb/details/meta/class-p.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-09-05 10:11:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-09-05 10:11:28 +0200
commit713b3a62d97c6bea7c23597094af6b2439314b8c (patch)
tree7d8c1609b3215231459de2b66c243dac39e4001e /odb/details/meta/class-p.hxx
parentccdf7823df5974f1f55c347d3bb8b23e7738b047 (diff)
Use more descriptive names in details/meta/
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);
};
}
}