Ticket #8309: indirect_streambuf.hpp.patch

File indirect_streambuf.hpp.patch, 473 bytes (added by fpascutti@…, 10 years ago)

patch

  • indirect_streambuf.hpp

     
    395395            setp(out().begin(), out().end());
    396396        else {
    397397            const char_type* ptr = pptr();
    398             setp(out().begin() + amt, out().end());
     398            setp(pbase() + amt, out().end());
    399399            pbump(ptr - pptr());
    400400        }
    401401    }