|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65565 - sandbox/conversion/boost/conversion
From: vicente.botet_at_[hidden]
Date: 2010-09-23 17:57:14
Author: viboes
Date: 2010-09-23 17:57:13 EDT (Thu, 23 Sep 2010)
New Revision: 65565
URL: http://svn.boost.org/trac/boost/changeset/65565
Log:
Conversion: Fix warning
Text files modified:
sandbox/conversion/boost/conversion/assign_to.hpp | 1 +
sandbox/conversion/boost/conversion/convert_to.hpp | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
Modified: sandbox/conversion/boost/conversion/assign_to.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/assign_to.hpp (original)
+++ sandbox/conversion/boost/conversion/assign_to.hpp 2010-09-23 17:57:13 EDT (Thu, 23 Sep 2010)
@@ -55,6 +55,7 @@
template <typename Target, typename Source>
Target& assign_to(Target& to, const Source& from, boost::dummy::base_tag<Target> const& p=boost::dummy::base_tag<Target>()) {
+ (void)p;
return conversion_impl::assign_to_impl<Target, Source>(to, from);
}
}
Modified: sandbox/conversion/boost/conversion/convert_to.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/convert_to.hpp (original)
+++ sandbox/conversion/boost/conversion/convert_to.hpp 2010-09-23 17:57:13 EDT (Thu, 23 Sep 2010)
@@ -24,7 +24,7 @@
struct convert_to {
inline static To apply(const From& val)
{
- return To(val);
+ return To((val));
}
};
}
@@ -44,6 +44,7 @@
}
template <typename Target, typename Source>
Target convert_to(Source const& from, boost::dummy::base_tag<Target> const& p=boost::dummy::base_tag<Target>()) {
+ (void)p;
return conversion_impl::convert_to_impl<Target>(from);
}
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