Skip to content

Commit

Permalink
add missing <chrono> includes (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 authored Feb 27, 2025
1 parent 5dfb68c commit a9406fa
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/pubsub.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Subscriber example with non-blocking stream interface:
.. code-block:: c++

#include "zenoh.hxx"
#include <chrono>
#include <iostream>
#include <thread>

Expand Down
1 change: 1 addition & 0 deletions examples/universal/z_get_channel_non_blocking.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <stdio.h>
#include <string.h>

#include <chrono>
#include <condition_variable>
#include <iostream>
#include <thread>
Expand Down
1 change: 1 addition & 0 deletions tests/universal/network/liveliness.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// ZettaScale Zenoh Team, <[email protected]>
//

#include <chrono>
#include <thread>
#include <unordered_set>

Expand Down
1 change: 1 addition & 0 deletions tests/universal/network/pub_sub.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// ZettaScale Zenoh Team, <[email protected]>
//

#include <chrono>
#include <thread>

#include "zenoh.hxx"
Expand Down
1 change: 1 addition & 0 deletions tests/universal/network/queryable_get.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// ZettaScale Zenoh Team, <[email protected]>
//

#include <chrono>
#include <thread>

#include "zenoh.hxx"
Expand Down
1 change: 1 addition & 0 deletions tests/zenohc/shm_api.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// ZettaScale Zenoh Team, <[email protected]>
//

#include <chrono>
#include <thread>
#include <unordered_set>

Expand Down

0 comments on commit a9406fa

Please sign in to comment.