Skip to content

Commit 8cbc4b3

Browse files
authored
CXX-3312 Fix export macro for mongocxx::v_noabi::options::index::storage_engine (#1426) (#1427)
1 parent f2e5caa commit 8cbc4b3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Changes prior to 3.9.0 are documented as [release notes on GitHub](https://githu
99

1010
## 4.1.2 [Unreleased]
1111

12-
<!-- Will contain entries for the next patch release. -->
12+
### Fixed
13+
14+
- `storage_engine() const` in `mongocxx::v_noabi::options::index` is correctly exported using mongocxx export macros instead of bsoncxx export macros.
1315

1416
## 4.1.1
1517

src/mongocxx/include/mongocxx/v_noabi/mongocxx/options/index.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class index {
303303
///
304304
/// The current storage engine options.
305305
///
306-
BSONCXX_ABI_EXPORT_CDECL(bsoncxx::v_noabi::stdx::optional<bsoncxx::v_noabi::document::view> const&)
306+
MONGOCXX_ABI_EXPORT_CDECL(bsoncxx::v_noabi::stdx::optional<bsoncxx::v_noabi::document::view> const&)
307307
storage_engine() const;
308308

309309
///

0 commit comments

Comments
 (0)