|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55315 - sandbox/fmhess/boost/generic_ptr
From: fmhess_at_[hidden]
Date: 2009-07-31 13:09:43
Author: fmhess
Date: 2009-07-31 13:09:43 EDT (Fri, 31 Jul 2009)
New Revision: 55315
URL: http://svn.boost.org/trac/boost/changeset/55315
Log:
Made get_plain_old_pointer take its argument by const reference.
Text files modified:
sandbox/fmhess/boost/generic_ptr/pointer_traits.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/fmhess/boost/generic_ptr/pointer_traits.hpp
==============================================================================
--- sandbox/fmhess/boost/generic_ptr/pointer_traits.hpp (original)
+++ sandbox/fmhess/boost/generic_ptr/pointer_traits.hpp 2009-07-31 13:09:43 EDT (Fri, 31 Jul 2009)
@@ -111,7 +111,7 @@
template<typename GenericPtr>
typename pointer_traits<GenericPtr>::value_type *
- get_plain_old_pointer(GenericPtr gp)
+ get_plain_old_pointer(const GenericPtr &gp)
{
using boost::get_pointer;
return get_plain_old_pointer(get_pointer(gp));
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