mirror of
https://github.com/nlohmann/json.git
synced 2026-03-30 21:02:52 +00:00
include <iosfwd> instead of <iostream>
avoid bloat caused by <iostream> and std::cout and friends in apps where iostream are not used.
This commit is contained in:
@@ -36,6 +36,7 @@ using nlohmann::json;
|
||||
#include <list>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <iostream>
|
||||
|
||||
TEST_CASE("README", "[hide]")
|
||||
{
|
||||
|
||||
@@ -33,6 +33,7 @@ SOFTWARE.
|
||||
using nlohmann::json;
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
extern size_t calls;
|
||||
size_t calls = 0;
|
||||
|
||||
Reference in New Issue
Block a user