-
Type:
Task
-
Resolution: Works as Designed
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Replication
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The UUID class's default constructor is private. Since IDL-generated classes use the default constructor, they're all manually declared friends of UUID. One of them is an imaginary friend, however: VoteCommitImportCollection does not exist.
https://github.com/mongodb/mongo/blob/r4.4.1/src/mongo/util/uuid.h#L91
While we're fixing that, remove the "friend class LogicalSessionId" declaration from UUID's "private" section, since it's duplicated in the public section. Everyone knows they're friends now, UUID doesn't have to be ashamed of LogicalSessionId anymore.
- related to
-
SERVER-43964 requirement that IDL types be friends of UUID is surely unnecessary
-
- Closed
-