From c0ecde90bcd2543362540c25fe7e36ece54e3d66 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 11 Jul 2002 21:03:30 +0000 Subject: [PATCH] Test a few different lvalue conversions [SVN r14411] --- test/m1.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/m1.cpp b/test/m1.cpp index fe5ef68d..ada4707e 100644 --- a/test/m1.cpp +++ b/test/m1.cpp @@ -187,9 +187,9 @@ struct D : B, C }; A take_a(A const& a) { return a; } -B take_b(B const& b) { return b; } -C take_c(C const& c) { return c; } -D take_d(D const& d) { return d; } +B take_b(B& b) { return b; } +C take_c(C* c) { return *c; } +D take_d(D* const& d) { return *d; } BOOST_PYTHON_MODULE_INIT(m1) {