-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[many ports 1] Include
<chrono>
for system_clock
and `high_resolu…
…tion_clock` (#42399)
- Loading branch information
1 parent
9d196b2
commit 389e18e
Showing
21 changed files
with
104 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/include/concurrencpp/results/impl/shared_result_state.h b/include/concurrencpp/results/impl/shared_result_state.h | ||
index 6c96f4b..1433e74 100644 | ||
--- a/include/concurrencpp/results/impl/shared_result_state.h | ||
+++ b/include/concurrencpp/results/impl/shared_result_state.h | ||
@@ -5,6 +5,7 @@ | ||
#include "concurrencpp/results/impl/result_state.h" | ||
|
||
#include <atomic> | ||
+#include <chrono> | ||
#include <semaphore> | ||
|
||
#include <cassert> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/iceoryx_hoofs/platform/win/source/time.cpp b/iceoryx_hoofs/platform/win/source/time.cpp | ||
index 4c2ab2d..4a7074b 100644 | ||
--- a/iceoryx_hoofs/platform/win/source/time.cpp | ||
+++ b/iceoryx_hoofs/platform/win/source/time.cpp | ||
@@ -16,6 +16,7 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#include "iceoryx_hoofs/platform/time.hpp" | ||
+#include <chrono> | ||
|
||
static std::chrono::nanoseconds getNanoSeconds(const timespec& value) | ||
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/src/common/transport/serialization_transport.cpp b/src/common/transport/serialization_transport.cpp | ||
index f916961..5ab0f3a 100644 | ||
--- a/src/common/transport/serialization_transport.cpp | ||
+++ b/src/common/transport/serialization_transport.cpp | ||
@@ -43,6 +43,7 @@ | ||
|
||
#include "ble_common.h" | ||
|
||
+#include <chrono> | ||
#include <iterator> | ||
#include <memory> | ||
#include <sstream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/platform/c++11/platform.h b/platform/c++11/platform.h | ||
index 2c80e0b..1468fab 100644 | ||
--- a/platform/c++11/platform.h | ||
+++ b/platform/c++11/platform.h | ||
@@ -16,6 +16,7 @@ | ||
#define NSYNC_PLATFORM_CPP11_PLATFORM_H_ | ||
|
||
/* These C header files are in "C compatibility headers" in C++11. */ | ||
+#include <chrono> | ||
#include <string.h> | ||
#include <errno.h> | ||
#include <stdlib.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/src/ogdf/cluster/HananiTutteCPlanarity.cpp b/src/ogdf/cluster/HananiTutteCPlanarity.cpp | ||
index 2cec55b..ac2672e 100644 | ||
--- a/src/ogdf/cluster/HananiTutteCPlanarity.cpp | ||
+++ b/src/ogdf/cluster/HananiTutteCPlanarity.cpp | ||
@@ -37,6 +37,7 @@ | ||
#include <ogdf/basic/extended_graph_alg.h> | ||
#include <ogdf/cluster/CconnectClusterPlanar.h> | ||
#include <ogdf/cluster/ClusterPlanarity.h> | ||
+#include <chrono> | ||
#include <unordered_map> | ||
#include <map> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters