|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65563 - sandbox/conversion/libs/conversion/test
From: vicente.botet_at_[hidden]
Date: 2010-09-23 17:54:28
Author: viboes
Date: 2010-09-23 17:54:27 EDT (Thu, 23 Sep 2010)
New Revision: 65563
URL: http://svn.boost.org/trac/boost/changeset/65563
Log:
Conversion: Fix ADL issue
Text files modified:
sandbox/conversion/libs/conversion/test/extrinsec.cpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Modified: sandbox/conversion/libs/conversion/test/extrinsec.cpp
==============================================================================
--- sandbox/conversion/libs/conversion/test/extrinsec.cpp (original)
+++ sandbox/conversion/libs/conversion/test/extrinsec.cpp 2010-09-23 17:54:27 EDT (Thu, 23 Sep 2010)
@@ -19,16 +19,14 @@
struct A{};
struct B{};
-namespace boost {
- A convert_to(const B& val, boost::dummy::type_tag<A> const&) {
+ A convert_to(const B&, boost::dummy::type_tag<A> const&) {
return A();
}
- A& assign_to(A& to, const B& from, boost::dummy::type_tag<A> const&) {
+ A& assign_to(A& to, const B&, boost::dummy::type_tag<A> const&) {
return to;
}
-}
void explicit_convert_to() {
B b;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk