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
4 changes: 2 additions & 2 deletions src/bsoncxx/include/bsoncxx/v_noabi/bsoncxx/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ BSONCXX_ABI_EXPORT_CDECL(document::value) from_json(stdx::string_view json);
///
/// @throws bsoncxx::v_noabi::exception with error details if the conversion failed.
///
BSONCXX_ABI_EXPORT_CDECL(document::value) operator"" _bson(char const* json, size_t len);
BSONCXX_ABI_EXPORT_CDECL(document::value) operator""_bson(char const* json, size_t len);

} // namespace v_noabi
} // namespace bsoncxx
Expand All @@ -92,7 +92,7 @@ namespace bsoncxx {
using ::bsoncxx::v_noabi::from_json;
using ::bsoncxx::v_noabi::to_json;

using ::bsoncxx::v_noabi::operator"" _bson;
using ::bsoncxx::v_noabi::operator""_bson;

} // namespace bsoncxx

Expand Down
2 changes: 1 addition & 1 deletion src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ document::value from_json(stdx::string_view json) {
return document::value{buf, length, bson_free_deleter};
}

document::value operator"" _bson(char const* str, size_t len) {
document::value operator""_bson(char const* str, size_t len) {
return from_json(stdx::string_view{str, len});
}

Expand Down