Skip to content

Commit 7c51d5a

Browse files
Merge pull request #373 from hongweipeng/fix-g++4.8-include
fix include error in g++ 4.8
2 parents 0eeff41 + 644e071 commit 7c51d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/jsoncons/source.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace jsoncons {
3737
null_buffer(null_buffer&&) = default;
3838
null_buffer& operator=(null_buffer&&) = default;
3939

40-
int_type overflow( int_type ch = traits_type::eof() ) override
40+
int_type overflow( int_type ch = typename std::basic_streambuf<CharT>::traits_type::eof() ) override
4141
{
4242
return ch;
4343
}

0 commit comments

Comments
 (0)