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
3 changes: 2 additions & 1 deletion src/bsoncxx/lib/bsoncxx/v1/exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ namespace v1 {
// - https://lld.llvm.org/missingkeyfunction:
// > It’s always advisable to ensure there is at least one eligible function that can serve as the key function.
// - https://gcc.gnu.org/onlinedocs/gcc/Vague-Linkage.html
// > For polymorphic classes (classes with virtual functions), the ‘type_info’ object is written out along with the vtable.
// > For polymorphic classes (classes with virtual functions), the ‘type_info’ object is written out along with the
// vtable.
void exception::key_function() const {}

} // namespace v1
Expand Down
3 changes: 2 additions & 1 deletion src/mongocxx/lib/mongocxx/v1/exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ std::error_category const& type_error_category() {
// - https://lld.llvm.org/missingkeyfunction:
// > It’s always advisable to ensure there is at least one eligible function that can serve as the key function.
// - https://gcc.gnu.org/onlinedocs/gcc/Vague-Linkage.html
// > For polymorphic classes (classes with virtual functions), the ‘type_info’ object is written out along with the vtable.
// > For polymorphic classes (classes with virtual functions), the ‘type_info’ object is written out along with the
// vtable.
void exception::key_function() const {}

} // namespace v1
Expand Down