From 62c76cf69f52fc0f89f3e918a96c20913483cf52 Mon Sep 17 00:00:00 2001 From: Ian Clarkson Date: Wed, 21 Feb 2018 17:23:22 -0800 Subject: [PATCH] Fix include brackets so they correspond to local includes instead of system includes When building code relying on this library in Xcode, the build process throws an error (not a warning!) stating its inability to locate the presumed system includes. The `<>` angle brackets on `#include` indicate a system-level include, not a user-level include. By swapping to quotation marks for the `#include` we more accurately represent the content of the included files and Xcode builds without complaint! --- include/nlohmann/json.hpp | 44 +++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index 8f04f510d..593c30a6b 100644 --- a/include/nlohmann/json.hpp +++ b/include/nlohmann/json.hpp @@ -45,28 +45,28 @@ SOFTWARE. #include // string, stoi, to_string #include // declval, forward, move, pair, swap -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "nlohmann/json_fwd.hpp" +#include "nlohmann/detail/macro_scope.hpp" +#include "nlohmann/detail/meta.hpp" +#include "nlohmann/detail/exceptions.hpp" +#include "nlohmann/detail/value_t.hpp" +#include "nlohmann/detail/conversions/from_json.hpp" +#include "nlohmann/detail/conversions/to_json.hpp" +#include "nlohmann/detail/input/input_adapters.hpp" +#include "nlohmann/detail/input/lexer.hpp" +#include "nlohmann/detail/input/parser.hpp" +#include "nlohmann/detail/iterators/primitive_iterator.hpp" +#include "nlohmann/detail/iterators/internal_iterator.hpp" +#include "nlohmann/detail/iterators/iter_impl.hpp" +#include "nlohmann/detail/iterators/iteration_proxy.hpp" +#include "nlohmann/detail/iterators/json_reverse_iterator.hpp" +#include "nlohmann/detail/output/output_adapters.hpp" +#include "nlohmann/detail/input/binary_reader.hpp" +#include "nlohmann/detail/output/binary_writer.hpp" +#include "nlohmann/detail/output/serializer.hpp" +#include "nlohmann/detail/json_ref.hpp" +#include "nlohmann/detail/json_pointer.hpp" +#include "nlohmann/adl_serializer.hpp" /*! @brief namespace for Niels Lohmann