Skip to content

Commit

Permalink
Remove #if __cplusplus >= 202002L from includes
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Nov 14, 2024
1 parent 02ef3c1 commit 23c31b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions examples/universal/z_bytes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@
// ZettaScale Zenoh Team, <zenoh@zettascale.tech>
//
#include <iostream>
#include <span>

#ifdef ZENOH_CPP_EXAMPLE_WITH_PROTOBUF
#include "entity.pb.h"
#endif

#if __cplusplus >= 202002L
#include <span>
#endif

#include "zenoh.hxx"
using namespace zenoh;

Expand Down
2 changes: 0 additions & 2 deletions include/zenoh/api/ext/serialization.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@

#pragma once

#if __cplusplus >= 202002L
#include <span>
#endif
#include <array>
#include <cstddef>
#include <cstdint>
Expand Down

0 comments on commit 23c31b4

Please sign in to comment.