Skip to content

Commit 071dfd7

Browse files
authored
CXX-2978 deprecate functor.hpp (#1124)
Warn about future removal
1 parent e67a701 commit 071dfd7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ Changes prior to 3.9.0 are documented as [release notes on GitHub](https://githu
1111

1212
<!-- Will contain entries for the next minor release -->
1313

14+
### Deprecated
15+
16+
- Deprecate use of the `bsoncxx/util/functor.hpp` header.
17+
1418
## 3.10.2 [Unreleased]
1519

1620
<!-- Will contain entries for the next patch release -->

src/bsoncxx/include/bsoncxx/v_noabi/bsoncxx/util/functor.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
#include <bsoncxx/config/prelude.hpp>
2121

22+
BSONCXX_PRAGMA(
23+
message("bsoncxx/util/functor.hpp header is deprecated and will be removed in an upcoming "
24+
"major release"))
25+
2226
namespace bsoncxx {
2327
namespace v_noabi {
2428
namespace util {

0 commit comments

Comments
 (0)