Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48668 - trunk/boost/exception
From: emil_at_[hidden]
Date: 2008-09-08 14:27:24


Author: emildotchevski
Date: 2008-09-08 14:27:24 EDT (Mon, 08 Sep 2008)
New Revision: 48668
URL: http://svn.boost.org/trac/boost/changeset/48668

Log:
Hopefully a workaround for an overload resolution bug in Sun compilers causing minor problems
Text files modified:
   trunk/boost/exception/exception.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/exception/exception.hpp
==============================================================================
--- trunk/boost/exception/exception.hpp (original)
+++ trunk/boost/exception/exception.hpp 2008-09-08 14:27:24 EDT (Mon, 08 Sep 2008)
@@ -191,7 +191,7 @@
         template <class E>
         friend
         E const &
- operator<<( E const & x, throw_function y )
+ operator<<( E const & x, throw_function const & y )
             {
             x.throw_function_=y.v_;
             return x;
@@ -200,7 +200,7 @@
         template <class E>
         friend
         E const &
- operator<<( E const & x, throw_file y )
+ operator<<( E const & x, throw_file const & y )
             {
             x.throw_file_=y.v_;
             return x;
@@ -209,7 +209,7 @@
         template <class E>
         friend
         E const &
- operator<<( E const & x, throw_line y )
+ operator<<( E const & x, throw_line const & y )
             {
             x.throw_line_=y.v_;
             return x;


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