Skip to content

Commit 05ae5cd

Browse files
committed
Added missing <iterator> includes.
1 parent 9ee3110 commit 05ae5cd

28 files changed

Lines changed: 122 additions & 110 deletions

include/comms/field/adapter/AvailableLength.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "comms/util/type_traits.h"
1717

1818
#include <algorithm>
19+
#include <iterator>
1920
#include <limits>
2021
#include <type_traits>
2122

include/comms/field/adapter/SequenceSerLengthFieldPrefix.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include "comms/Assert.h"
1111
#include "comms/ErrorStatus.h"
1212

13+
#include <iterator>
14+
1315
namespace comms
1416
{
1517

include/comms/field/adapter/SequenceSizeFieldPrefix.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include "comms/Assert.h"
1111
#include "comms/ErrorStatus.h"
1212

13+
#include <iterator>
14+
1315
namespace comms
1416
{
1517

include/comms/field/adapter/SequenceTerminationFieldSuffix.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include "comms/ErrorStatus.h"
1313
#include "comms/util/type_traits.h"
1414

15+
#include <iterator>
16+
1517
namespace comms
1618
{
1719

include/comms/field/basic/ArrayList.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "comms/util/type_traits.h"
2525

2626
#include <algorithm>
27+
#include <iterator>
2728
#include <limits>
2829
#include <numeric>
2930
#include <type_traits>

include/comms/field/details/FieldOpHelpers.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "comms/ErrorStatus.h"
1212

1313
#include <cstdint>
14+
#include <iterator>
1415
#include <limits>
1516
#include <type_traits>
1617

include/comms/frame/MsgIdLayer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
#include <algorithm>
2626
#include <array>
27+
#include <iterator>
2728
#include <limits>
2829
#include <tuple>
2930
#include <utility>

include/comms/frame/TransportValueLayer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#include "comms/frame/details/TransportValueLayerBase.h"
1818
#include "comms/util/type_traits.h"
1919

20+
#include <iterator>
21+
2022
COMMS_MSVC_WARNING_PUSH
2123
COMMS_MSVC_WARNING_DISABLE(4189) // Disable erroneous initialized but not referenced variable warning
2224

test/ChecksumLayer.th

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
// License, v. 2.0. If a copy of the MPL was not distributed with this
66
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
77

8-
#include <cstdint>
9-
#include <cstddef>
10-
#include <algorithm>
11-
#include <iterator>
12-
#include <iostream>
13-
#include <iomanip>
14-
158
#include "comms/comms.h"
169
#include "CommsTestCommon.h"
1710

1811
CC_DISABLE_WARNINGS()
1912
#include "cxxtest/TestSuite.h"
2013
CC_ENABLE_WARNINGS()
2114

15+
#include <cstdint>
16+
#include <cstddef>
17+
#include <algorithm>
18+
#include <iterator>
19+
#include <iostream>
20+
#include <iomanip>
21+
2222
class ChecksumLayerTestSuite : public CxxTest::TestSuite
2323
{
2424
public:

test/ChecksumPrefixLayer.th

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
// License, v. 2.0. If a copy of the MPL was not distributed with this
66
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
77

8-
#include <cstdint>
9-
#include <cstddef>
10-
#include <algorithm>
11-
#include <iterator>
12-
#include <iostream>
13-
#include <iomanip>
14-
158
#include "comms/comms.h"
169
#include "CommsTestCommon.h"
1710

1811
CC_DISABLE_WARNINGS()
1912
#include "cxxtest/TestSuite.h"
2013
CC_ENABLE_WARNINGS()
2114

15+
#include <cstdint>
16+
#include <cstddef>
17+
#include <algorithm>
18+
#include <iterator>
19+
#include <iostream>
20+
#include <iomanip>
21+
2222
class ChecksumPrefixLayerTestSuite : public CxxTest::TestSuite
2323
{
2424
public:

0 commit comments

Comments
 (0)