Include <string_view> in "nlohmann/json.hpp" when C++17 is used
This commit is contained in:
1 parent
39b8d6bd33
commit
cd7acc1dc5
3 files changed
+8
-4
No files matched your search
@@ -73,6 +73,10 @@ SOFTWARE.
|
||||
#include <nlohmann/json_fwd.hpp>
|
||||
#include <nlohmann/ordered_map.hpp>
|
||||
|
||||
#if defined(JSON_HAS_CPP_17)
|
||||
#include <string_view>
|
||||
#endif
|
||||
|
||||
/*!
|
||||
@brief namespace for Niels Lohmann
|
||||
@see https://github.com/nlohmann
|
||||
|
||||
Reference in new issue
Block a user