Changeset fe39530 in mainline
- Timestamp:
- 2018-07-05T21:41:19Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e8c4c59
- Parents:
- 2cf1da7
- git-author:
- Dzejrou <dzejrou@…> (2017-12-17 20:01:04)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:19)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/iterator.hpp
r2cf1da7 rfe39530 819 819 { 820 820 public: 821 proxy_type(int_type c, streambuf_type* sbuf) 822 : char_{c}, sbuf_{sbuf} 823 { /* DUMMY BODY */ } 824 821 825 char_type operator*() 822 826 { 823 return char_;827 return traits_type::to_char_type(char_); 824 828 } 825 829 826 830 private: 827 proxy_type(char_type c, streambuf_type sbuf) 828 : char_{c}, sbuf_{sbuf} 829 { /* DUMMY BODY */ } 830 831 char_type char_; 831 int_type char_; 832 832 833 833 streambuf_type* sbuf_; … … 854 854 { /* DUMMY BODY */ } 855 855 856 char_type operator*() const856 char_type operator*() /* const */ // TODO: Should be const :/ 857 857 { 858 858 if (sbuf_)
Note:
See TracChangeset
for help on using the changeset viewer.