Skip to content

Commit db54586

Browse files
authored
CXX-2769 Remove out-of-place BSONCXX_ENUM macro guards (#1252)
1 parent 9f056c3 commit db54586

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/bsoncxx/include/bsoncxx/v_noabi/bsoncxx/config/postlude.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@
6363
#pragma pop_macro("bsoncxx_cxx14_constexpr")
6464
#pragma pop_macro("BSONCXX_RETURNS")
6565

66-
// CXX-2769: out-of-place, but remains for backward compatibility.
67-
#ifdef BSONCXX_ENUM
68-
static_assert(false, "BSONCXX_ENUM must be undef'ed");
69-
#endif
70-
#pragma pop_macro("BSONCXX_ENUM")
71-
7266
// util.hpp
7367
#pragma pop_macro("BSONCXX_PUSH_WARNINGS")
7468
#pragma pop_macro("BSONCXX_POP_WARNINGS")

src/bsoncxx/include/bsoncxx/v_noabi/bsoncxx/config/prelude.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@
121121
#undef BSONCXX_UNREACHABLE
122122
#define BSONCXX_UNREACHABLE std::abort()
123123

124-
// CXX-2769: out-of-place, but remains for backward compatibility.
125-
#pragma push_macro("BSONCXX_ENUM")
126-
#undef BSONCXX_ENUM
127-
128124
///
129125
/// @file
130126
/// The bsoncxx macro guard prelude header.

0 commit comments

Comments
 (0)