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

Fix ambiguously named test fixture in `commands_test.cpp`

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.3, 4.1.1
    • None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2018-07-02
    • 61

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: