startup_warnings_mongod.h missing #pragma once

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • ALL
    • SP Prioritized List
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      All headers should have a pragma once directive.

      If a header is used in only one or two places it's easy to forget it.
      Would be nice to have a check for this.

      https://github.com/10gen/mongo/blob/master/src/mongo/db/startup_warnings_mongod.h

            Assignee:
            Unassigned
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: