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

BatchedCommandRequest.cpp has an INVOKE macro

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 4.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Platforms 2018-05-07

    Description

      Annoying INVOKE macro in BatchedCommandRequest pseudovariant.

      This is just

      std::variant::visit

      and could be better written without a macro.

      INVOKE is a name that appears in the standard and is a bit of a confusion risk.

      Fix is trivial.

       

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: