Skip to content

Commit

Permalink
Merge pull request #451 from MonkeybreadSoftware/patch-6
Browse files Browse the repository at this point in the history
Update source.hpp
  • Loading branch information
danielaparker authored Sep 25, 2023
2 parents e46e024 + 8f635ac commit 1cdf2b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/jsoncons/source.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,12 @@ namespace jsoncons {
return length - unread;
}
};
#if __cplusplus >= 201703L
// not needed for C++17
#else
template <class Source>
constexpr std::size_t source_reader<Source>::max_buffer_length;
#endif

#if !defined(JSONCONS_NO_DEPRECATED)
using bin_stream_source = binary_stream_source;
Expand Down

0 comments on commit 1cdf2b9

Please sign in to comment.