Skip to content

Commit bccac0e

Browse files
authored
CXX-3312 Fix export macro for mongocxx::v_noabi::options::index::storage_engine (#1426)
1 parent 83063e5 commit bccac0e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Changes prior to 3.9.0 are documented as [release notes on GitHub](https://githu
1212
### Fixed
1313

1414
- CMake option `ENABLE_TESTS` (`OFF` by default) is no longer overwritten by the auto-downloaded C Driver (`ON` by default) during CMake configuration.
15+
- `storage_engine() const` in `mongocxx::v_noabi::options::index` is correctly exported using mongocxx export macros instead of bsoncxx export macros.
1516

1617
### Changed
1718

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)