Commit f0ca96d4 authored by Oleg Endo's avatar Oleg Endo

include <iosfwd> instead of <iostream>

avoid bloat caused by <iostream> and std::cout and friends in apps where
iostream are not used.
parent f1c543cb
...@@ -43,7 +43,7 @@ SOFTWARE. ...@@ -43,7 +43,7 @@ SOFTWARE.
#include <functional> // function, hash, less #include <functional> // function, hash, less
#include <initializer_list> // initializer_list #include <initializer_list> // initializer_list
#include <iomanip> // hex #include <iomanip> // hex
#include <iostream> // istream, ostream #include <iosfwd> // istream, ostream
#include <iterator> // advance, begin, back_inserter, bidirectional_iterator_tag, distance, end, inserter, iterator, iterator_traits, next, random_access_iterator_tag, reverse_iterator #include <iterator> // advance, begin, back_inserter, bidirectional_iterator_tag, distance, end, inserter, iterator, iterator_traits, next, random_access_iterator_tag, reverse_iterator
#include <limits> // numeric_limits #include <limits> // numeric_limits
#include <locale> // locale #include <locale> // locale
......
...@@ -36,6 +36,7 @@ using nlohmann::json; ...@@ -36,6 +36,7 @@ using nlohmann::json;
#include <list> #include <list>
#include <unordered_map> #include <unordered_map>
#include <unordered_set> #include <unordered_set>
#include <iostream>
TEST_CASE("README", "[hide]") TEST_CASE("README", "[hide]")
{ {
......
...@@ -33,6 +33,7 @@ SOFTWARE. ...@@ -33,6 +33,7 @@ SOFTWARE.
using nlohmann::json; using nlohmann::json;
#include <fstream> #include <fstream>
#include <iostream>
extern size_t calls; extern size_t calls;
size_t calls = 0; size_t calls = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment