Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35784

Fix ambiguously named test fixture in `commands_test.cpp`

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.3, 4.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2018-07-02
    • 61

      Microsoft's compilers that do not properly support 2-phase lookup seem to trip over an ambiguity between:

      `namespace mongo { class TypedCommand; }`

      and

      `namespace mongo { namespace{ class TypedCommand; }}`,

      when the second is defined and declared after the definition the template which would use the first (non-anonymous) instance.

            Assignee:
            adam.martin@mongodb.com ADAM Martin (Inactive)
            Reporter:
            adam.martin@mongodb.com ADAM Martin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: