From f0ca96d462491a406aa975b3f4670a72b3a721e2 Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Sun, 9 Jul 2017 15:04:49 +0900 Subject: [PATCH] include instead of avoid bloat caused by and std::cout and friends in apps where iostream are not used. --- src/json.hpp | 2 +- test/src/unit-readme.cpp | 1 + test/src/unit-unicode.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/json.hpp b/src/json.hpp index 612c7e58d..b378c77d8 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -43,7 +43,7 @@ SOFTWARE. #include // function, hash, less #include // initializer_list #include // hex -#include // istream, ostream +#include // istream, ostream #include // advance, begin, back_inserter, bidirectional_iterator_tag, distance, end, inserter, iterator, iterator_traits, next, random_access_iterator_tag, reverse_iterator #include // numeric_limits #include // locale diff --git a/test/src/unit-readme.cpp b/test/src/unit-readme.cpp index 1b22f1b31..e921c4b68 100644 --- a/test/src/unit-readme.cpp +++ b/test/src/unit-readme.cpp @@ -36,6 +36,7 @@ using nlohmann::json; #include #include #include +#include TEST_CASE("README", "[hide]") { diff --git a/test/src/unit-unicode.cpp b/test/src/unit-unicode.cpp index 9b379d968..e19905d5d 100644 --- a/test/src/unit-unicode.cpp +++ b/test/src/unit-unicode.cpp @@ -33,6 +33,7 @@ SOFTWARE. using nlohmann::json; #include +#include extern size_t calls; size_t calls = 0;