🔨 some clean up

This commit is contained in:
Niels Lohmann 2018-01-10 10:18:31 +01:00
parent ce53537ba2
commit 85173f5627
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
21 changed files with 58 additions and 178 deletions

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_PARSING_BINARY_READER_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_BINARY_READER_HPP
#pragma once
#include <algorithm> // generate_n
#include <array> // array
@ -1089,5 +1088,3 @@ class binary_reader
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_PARSING_BINARY_WRITER_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_BINARY_WRITER_HPP
#pragma once
#include <algorithm> // reverse
#include <array> // array
@ -554,5 +553,3 @@ class binary_writer
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_PARSING_INPUT_ADAPTERS_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_INPUT_ADAPTERS_HPP
#pragma once
#include <algorithm> // min
#include <array> // array
@ -261,5 +260,3 @@ class input_adapter
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_PARSING_LEXER_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_LEXER_HPP
#pragma once
#include <clocale> // localeconv
#include <cstddef> // size_t
@ -1275,5 +1274,3 @@ scan_number_done:
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_PARSING_OUTPUT_ADAPTERS_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_OUTPUT_ADAPTERS_HPP
#pragma once
#include <algorithm> // copy
#include <cstddef> // size_t
@ -112,5 +111,3 @@ class output_adapter
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_PARSING_PARSER_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_PARSER_HPP
#pragma once
#include <cassert> // assert
#include <cmath> // isfinite
@ -588,5 +587,3 @@ class parser
};
}
}
#endif