Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48771 - trunk/boost
From: gennadiy.rozental_at_[hidden]
Date: 2008-09-14 03:24:44


Author: rogeeff
Date: 2008-09-14 03:24:44 EDT (Sun, 14 Sep 2008)
New Revision: 48771
URL: http://svn.boost.org/trac/boost/changeset/48771

Log:
avoid "shadowing of class members and variables" warning
Text files modified:
   trunk/boost/progress.hpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/progress.hpp
==============================================================================
--- trunk/boost/progress.hpp (original)
+++ trunk/boost/progress.hpp 2008-09-14 03:24:44 EDT (Sun, 14 Sep 2008)
@@ -77,20 +77,20 @@
 class progress_display : private noncopyable
 {
  public:
- explicit progress_display( unsigned long expected_count,
+ explicit progress_display( unsigned long expected_count_,
                              std::ostream & os = std::cout,
                              const std::string & s1 = "\n", //leading strings
                              const std::string & s2 = "",
                              const std::string & s3 = "" )
    // os is hint; implementation may ignore, particularly in embedded systems
- : m_os(os), m_s1(s1), m_s2(s2), m_s3(s3) { restart(expected_count); }
+ : m_os(os), m_s1(s1), m_s2(s2), m_s3(s3) { restart(expected_count_); }
 
- void restart( unsigned long expected_count )
+ void restart( unsigned long expected_count_ )
   // Effects: display appropriate scale
- // Postconditions: count()==0, expected_count()==expected_count
+ // Postconditions: count()==0, expected_count()==expected_count_
   {
     _count = _next_tic_count = _tic = 0;
- _expected_count = expected_count;
+ _expected_count = expected_count_;
 
     m_os << m_s1 << "0% 10 20 30 40 50 60 70 80 90 100%\n"
          << m_s2 << "|----|----|----|----|----|----|----|----|----|----|"


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