Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class find_one_and_update_options {
///
/// Set the "returnDocument" field.
///
MONGOCXX_ABI_EXPORT_CDECL(find_one_and_update_options&) return_document(return_document return_document);
MONGOCXX_ABI_EXPORT_CDECL(find_one_and_update_options&) return_document(v1::return_document return_document);

///
/// Return the current "returnDocument" field.
Expand Down Expand Up @@ -229,6 +229,8 @@ class find_one_and_update_options {
/// Return the current "arrayFilters" field.
///
MONGOCXX_ABI_EXPORT_CDECL(bsoncxx::v1::stdx::optional<bsoncxx::v1::array::view>) array_filters() const;

class internal;
};

} // namespace v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#pragma once

#include <mongocxx/v1/find_one_and_update_options-fwd.hpp> // IWYU pragma: export

#include <mongocxx/config/prelude.hpp>

namespace mongocxx {
Expand All @@ -29,7 +31,7 @@ class find_one_and_update;
namespace mongocxx {
namespace options {

using ::mongocxx::v_noabi::options::find_one_and_update;
using v_noabi::options::find_one_and_update;

} // namespace options
} // namespace mongocxx
Expand All @@ -40,3 +42,6 @@ using ::mongocxx::v_noabi::options::find_one_and_update;
/// @file
/// Declares @ref mongocxx::v_noabi::options::find_one_and_update.
///
/// @par Includes
/// - @ref mongocxx/v1/find_one_and_update_options-fwd.hpp
///
Loading