Skip to content

Commit

Permalink
Removed C4099 Windows warning
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
  • Loading branch information
ahcorde committed Dec 5, 2024
1 parent da98b80 commit d0ae7b0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rmw_zenoh_cpp/src/detail/rmw_context_impl_s.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
#include "rmw/ret_types.h"
#include "rmw/types.h"

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4099)
#endif
///=============================================================================
class rmw_context_impl_s final
{
Expand Down Expand Up @@ -95,6 +99,8 @@ class rmw_context_impl_s final
private:
std::shared_ptr<Data> data_{nullptr};
};

#ifdef _MSC_VER
#pragma warning(pop)
#endif

#endif // DETAIL__RMW_CONTEXT_IMPL_S_HPP_

0 comments on commit d0ae7b0

Please sign in to comment.