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

Missing '#pragma once' on drop_collection.h

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc0
    • Component/s: Catalog
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      The drop_collection.h header is not properly guarded, so the preprocessor may include it more than once in the same translation unit which will end up in having some errors about multiple definitions of the same symbol.

        Attachments

          Activity

            People

            Assignee:
            sergi.mateo-bellido Sergi Mateo Bellido
            Reporter:
            sergi.mateo-bellido Sergi Mateo Bellido
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: