Skip to content

Commit

Permalink
It's fine clang-tidy constexpr makes absolutely no sense here
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Sep 21, 2023
1 parent 3af6284 commit 641ebc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/extension/network/wire_protocol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@

// These macros are used to pack the structs so that they are sent over the network in the correct format
#ifdef _MSC_VER
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define PACK(...) __pragma(pack(push, 1)) __VA_ARGS__ __pragma(pack(pop))
#else
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define PACK(...) __VA_ARGS__ __attribute__((__packed__))
#endif

Expand Down

0 comments on commit 641ebc0

Please sign in to comment.