Skip to content

Commit cc3c5ec

Browse files
committed
fix: type portability
1 parent b881c7a commit cc3c5ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/universal/z_sub_thr.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ using namespace zenoh;
2323
struct Stats {
2424
volatile unsigned long count = 0;
2525
volatile unsigned long finished_rounds = 0;
26-
std::chrono::_V2::steady_clock::time_point start = {};
27-
std::chrono::_V2::steady_clock::time_point first_start = {};
28-
std::chrono::_V2::steady_clock::time_point end = {};
26+
std::chrono::steady_clock::time_point start = {};
27+
std::chrono::steady_clock::time_point first_start = {};
28+
std::chrono::steady_clock::time_point end = {};
2929

3030
void operator()(const Sample &) {
3131
if (count == 0) {
3232
start = std::chrono::steady_clock::now();
33-
if (first_start == std::chrono::_V2::steady_clock::time_point()) {
33+
if (first_start == std::chrono::steady_clock::time_point()) {
3434
first_start = start;
3535
}
3636
count++;

0 commit comments

Comments
 (0)