🔨 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_ITERATORS_INTERNAL_ITERATOR_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
#pragma once
#include "detail/iterators/primitive_iterator.hpp"
@ -24,5 +23,3 @@ template<typename BasicJsonType> struct internal_iterator
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_ITER_IMPL_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_ITER_IMPL_HPP
#pragma once
#include <ciso646> // not
#include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next
@ -613,5 +612,3 @@ class iter_impl
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#pragma once
#include <cstddef> // size_t
#include <string> // string, to_string
@ -97,5 +96,3 @@ template<typename IteratorType> class iteration_proxy
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#pragma once
#include <cstddef> // ptrdiff_t
#include <iterator> // reverse_iterator
@ -118,5 +117,3 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
};
}
}
#endif

View file

@ -1,5 +1,4 @@
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#pragma once
#include <ciso646> // not
#include <cstddef> // ptrdiff_t
@ -127,5 +126,3 @@ class primitive_iterator_t
};
}
}
#endif