Skip to content

Commit cab0309

Browse files
authored
Add missed includes. (#1237)
Some files that use for_each and transform have missed <algorithm> in includes. Also add other missed includes in related files Relates-To: OLPEDGE-2614 Signed-off-by: Iuliia Moroz <[email protected]>
1 parent ac29b83 commit cab0309

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

olp-cpp-sdk-core/src/http/winhttp/NetworkWinHttp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919

2020
#include "NetworkWinHttp.h"
2121

22+
#include <algorithm>
2223
#include <cassert>
2324
#include <iostream>
2425
#include <sstream>
2526
#include <string>
2627
#include <thread>
28+
#include <utility>
2729
#include <vector>
2830

2931
#include "olp/core/http/HttpStatusCode.h"

olp-cpp-sdk-dataservice-read/src/PrefetchTilesHelper.h

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

2020
#pragma once
2121

22+
#include <algorithm>
2223
#include <memory>
2324
#include <utility>
2425
#include <vector>

olp-cpp-sdk-dataservice-read/src/QueryMetadataJob.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919

2020
#pragma once
2121

22+
#include <algorithm>
2223
#include <iterator>
24+
#include <memory>
2325
#include <string>
2426
#include <utility>
2527
#include <vector>

olp-cpp-sdk-dataservice-read/src/StreamLayerClientImpl.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@
1919

2020
#include "StreamLayerClientImpl.h"
2121

22+
#include <algorithm>
2223
#include <iterator>
2324
#include <set>
25+
#include <string>
26+
#include <utility>
27+
#include <vector>
2428

2529
#include <olp/core/cache/DefaultCache.h>
2630
#include <olp/core/client/CancellationContext.h>
@@ -371,7 +375,7 @@ client::CancellableFuture<PollResponse> StreamLayerClientImpl::Poll() {
371375
});
372376

373377
return olp::client::CancellableFuture<PollResponse>(std::move(cancel_token),
374-
std::move(promise));
378+
std::move(promise));
375379
}
376380

377381
client::CancellationToken StreamLayerClientImpl::Seek(

olp-cpp-sdk-dataservice-read/src/VolatileLayerClientImpl.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@
1919

2020
#include "VolatileLayerClientImpl.h"
2121

22+
#include <algorithm>
2223
#include <iterator>
24+
#include <memory>
25+
#include <string>
26+
#include <utility>
27+
#include <vector>
2328

2429
#include <olp/core/cache/DefaultCache.h>
2530
#include <olp/core/client/CancellationContext.h>

tests/common/ResponseGenerator.cpp

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

2020
#include "ResponseGenerator.h"
2121

22+
#include <algorithm>
2223
#include <string>
2324
#include <vector>
2425

0 commit comments

Comments
 (0)