Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-02-08 06:11:40


IBM/VisualAge complains about the 'private' keywords omitted for
base-classes. Here's the patch for progress.hpp

Index: progress.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/progress.hpp,v
retrieving revision 1.7
diff -u -r1.7 progress.hpp
--- progress.hpp 1 Dec 2001 21:25:06 -0000 1.7
+++ progress.hpp 8 Feb 2002 11:14:07 -0000
@@ -33,7 +33,7 @@
  // A progress_timer behaves like a timer except that the destructor
displays
  // an elapsed time message at an appropriate place in an appropriate
form.

-class progress_timer : public timer, noncopyable
+class progress_timer : public timer, private noncopyable
  {

   public:
@@ -75,7 +75,7 @@
  // found some compilers couldn't handle the required conversion to double.
  // Reverted to unsigned long until the compilers catch up.

-class progress_display : noncopyable
+class progress_display : private noncopyable
  {
   public:
    explicit progress_display( unsigned long expected_count,


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