Ignore:
Timestamp:
2018-07-05T21:41:23Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c075647a
Parents:
fceeb93
git-author:
Dzejrou <dzejrou@…> (2018-05-11 22:12:07)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
Message:

cpp: fixed bugs found by the tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/impl/sstream.hpp

    rfceeb93 reaabd7d  
    3232#include <ios>
    3333#include <iosfwd>
     34#include <iostream>
    3435#include <streambuf>
    3536#include <string>
     
    104105                if (mode_ & ios_base::out)
    105106                    return basic_string<char_type, traits_type, allocator_type>{
    106                         this->output_begin_, this->output_next_, str_.get_allocator()
     107                        this->output_begin_, this->output_next_ - 1, str_.get_allocator()
    107108                    };
    108109                else if (mode_ == ios_base::in)
Note: See TracChangeset for help on using the changeset viewer.