[SERVER-37075] MacOS Headers define `nil` so use a different name for `unique_function` internals Created: 11/Sep/18  Updated: 29/Oct/23  Resolved: 11/Sep/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.3

Type: Bug Priority: Blocker - P1
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2018-09-24
Participants:
Linked BF Score: 52

 Comments   
Comment by Githook User [ 11/Sep/18 ]

Author:

{'name': 'ADAM David Alan Martin', 'email': 'adam.martin@10gen.com', 'username': 'adamlsd'}

Message: SERVER-37075 Make `unique_function<...>::nil` not break on MacOS

Some MacOS headers `#define nil`, because of Objective-C[++]. Use,
instead, a name for the internal dummy argument that won't collide.
Branch: master
https://github.com/mongodb/mongo/commit/80e8f97ac01abb879c462712d9765716db5c675a

Generated at Thu Feb 08 04:44:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.