Skip to content

Commit 01de2f3

Browse files
committed
Rename CollectionData.hpp to CollectionIterator.hpp
I also removed some of the unused include statements.
1 parent 4a2568e commit 01de2f3

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

extras/tests/JsonDocument/constructor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#include "Allocators.hpp"
99
#include "Literals.hpp"
1010

11-
using ArduinoJson::detail::addPadding;
12-
1311
TEST_CASE("JsonDocument constructor") {
1412
SpyingAllocator spyingAllocator;
1513

extras/tests/MixedConfiguration/enable_alignment_0.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#define ARDUINOJSON_ENABLE_ALIGNMENT 0
33
#include <ArduinoJson.h>
44

5+
#include <ArduinoJson/Memory/Alignment.hpp>
6+
57
#include <catch.hpp>
68

79
TEST_CASE("ARDUINOJSON_ENABLE_ALIGNMENT == 0") {

extras/tests/MixedConfiguration/enable_alignment_1.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#define ARDUINOJSON_ENABLE_ALIGNMENT 1
22
#include <ArduinoJson.h>
33

4+
#include <ArduinoJson/Memory/Alignment.hpp>
5+
46
#include <catch.hpp>
57

68
TEST_CASE("ARDUINOJSON_ENABLE_ALIGNMENT == 1") {

extras/tests/ResourceManager/allocVariant.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#include <ArduinoJson.hpp>
66
#include <catch.hpp>
77

8+
#include <ArduinoJson/Memory/Alignment.hpp>
9+
810
#include "Allocators.hpp"
911

1012
using namespace ArduinoJson::detail;

src/ArduinoJson/Collection/CollectionImpl.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44

55
#pragma once
66

7-
#include <ArduinoJson/Collection/CollectionData.hpp>
8-
#include <ArduinoJson/Memory/Alignment.hpp>
9-
#include <ArduinoJson/Strings/StringAdapters.hpp>
10-
#include <ArduinoJson/Variant/VariantCompare.hpp>
11-
#include <ArduinoJson/Variant/VariantData.hpp>
7+
#include <ArduinoJson/Variant/VariantImpl.hpp>
128

139
ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE
1410

src/ArduinoJson/Collection/CollectionData.hpp renamed to src/ArduinoJson/Collection/CollectionIterator.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
#pragma once
66

7-
#include <ArduinoJson/Memory/MemoryPool.hpp>
87
#include <ArduinoJson/Namespace.hpp>
98
#include <ArduinoJson/Polyfills/assert.hpp>
109

src/ArduinoJson/Variant/VariantImpl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#pragma once
66

7-
#include <ArduinoJson/Collection/CollectionData.hpp>
7+
#include <ArduinoJson/Collection/CollectionIterator.hpp>
88
#include <ArduinoJson/Memory/ResourceManager.hpp>
99
#include <ArduinoJson/Misc/SerializedValue.hpp>
1010
#include <ArduinoJson/Numbers/convertNumber.hpp>

0 commit comments

Comments
 (0)