Skip to content

Commit a9406fa

Browse files
add missing <chrono> includes (#419)
1 parent 5dfb68c commit a9406fa

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

docs/pubsub.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Subscriber example with non-blocking stream interface:
6565
.. code-block:: c++
6666

6767
#include "zenoh.hxx"
68+
#include <chrono>
6869
#include <iostream>
6970
#include <thread>
7071

examples/universal/z_get_channel_non_blocking.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <stdio.h>
1515
#include <string.h>
1616

17+
#include <chrono>
1718
#include <condition_variable>
1819
#include <iostream>
1920
#include <thread>

tests/universal/network/liveliness.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ZettaScale Zenoh Team, <[email protected]>
1313
//
1414

15+
#include <chrono>
1516
#include <thread>
1617
#include <unordered_set>
1718

tests/universal/network/pub_sub.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ZettaScale Zenoh Team, <[email protected]>
1313
//
1414

15+
#include <chrono>
1516
#include <thread>
1617

1718
#include "zenoh.hxx"

tests/universal/network/queryable_get.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ZettaScale Zenoh Team, <[email protected]>
1313
//
1414

15+
#include <chrono>
1516
#include <thread>
1617

1718
#include "zenoh.hxx"

tests/zenohc/shm_api.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// ZettaScale Zenoh Team, <[email protected]>
1313
//
1414

15+
#include <chrono>
1516
#include <thread>
1617
#include <unordered_set>
1718

0 commit comments

Comments
 (0)