ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/openbabel/zipstreamimpl.hpp
(Generate patch)

Comparing trunk/src/openbabel/zipstreamimpl.hpp (file contents):
Revision 741 by tim, Wed Nov 16 19:42:11 2005 UTC vs.
Revision 1081 by gezelter, Thu Oct 19 20:49:05 2006 UTC

# Line 73 | Line 73 | basic_zip_streambuf<charT, traits>::basic_zip_streambu
73                        window_size, memory_level,
74                        static_cast<int>(strategy));
75  
76 <    setp( &(_buffer[0]), &(_buffer[_buffer.size()-1]));
76 >    this->setp( &(_buffer[0]), &(_buffer[_buffer.size()-1]));
77   }
78  
79   /** Destructor
# Line 123 | Line 123 | basic_zip_streambuf<charT, traits>::overflow(int_type
123      }
124      if (zip_to_stream(this->pbase(), w))
125      {
126 <        setp(this->pbase(), this->epptr() - 1);
126 >        this->setp(this->pbase(), this->epptr() - 1);
127          return c;
128      }
129      else
# Line 174 | Line 174 | std::streamsize basic_zip_streambuf<charT, traits>::fl
174      }
175      while(_err == Z_OK);
176  
177 <    _ostream.flush();
177 >    if(&_ostream)
178 >                        _ostream.flush();
179  
180      return total_written_byte_size;
181   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines