Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2003-02-12 12:41:08


Attached is a small patch for signals/trackable.hpp. According to
7.1.1(8), the mutable keyword cannot be applied on reference members
and Visual Age flags this as an error. I just removed the mutable
keyword an it compiles fine afterwards.

Markus

Index: trackable.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/signals/trackable.hpp,v
retrieving revision 1.11
diff -c -r1.11 trackable.hpp
*** trackable.hpp 4 Feb 2003 12:20:06 -0000 1.11
--- trackable.hpp 12 Feb 2003 17:26:20 -0000
***************
*** 183,189 ****
        {
        }
  
! mutable std::vector<const trackable*>& bound_objects;
      };
    } // end namespace detail
  } // end namespace BOOST_SIGNALS_NAMESPACE
--- 183,189 ----
        {
        }
  
! std::vector<const trackable*>& bound_objects;
      };
    } // end namespace detail
  } // end namespace BOOST_SIGNALS_NAMESPACE


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk