From 23c31b4554befdf62c498fc697d9aaef7414e90c Mon Sep 17 00:00:00 2001 From: JafarAbdi Date: Thu, 14 Nov 2024 13:32:35 +0000 Subject: [PATCH] Remove #if __cplusplus >= 202002L from includes --- examples/universal/z_bytes.cxx | 5 +---- include/zenoh/api/ext/serialization.hxx | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/universal/z_bytes.cxx b/examples/universal/z_bytes.cxx index 4187de2..69bdb69 100644 --- a/examples/universal/z_bytes.cxx +++ b/examples/universal/z_bytes.cxx @@ -12,15 +12,12 @@ // ZettaScale Zenoh Team, // #include +#include #ifdef ZENOH_CPP_EXAMPLE_WITH_PROTOBUF #include "entity.pb.h" #endif -#if __cplusplus >= 202002L -#include -#endif - #include "zenoh.hxx" using namespace zenoh; diff --git a/include/zenoh/api/ext/serialization.hxx b/include/zenoh/api/ext/serialization.hxx index d5e1d83..45c4b6d 100644 --- a/include/zenoh/api/ext/serialization.hxx +++ b/include/zenoh/api/ext/serialization.hxx @@ -13,9 +13,7 @@ #pragma once -#if __cplusplus >= 202002L #include -#endif #include #include #include