Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12358

Use "#pragma once" instead of "#ifndef" in the header files

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines

      The model header files currently use the standard C mechanism to prevent double inclusion (using #ifndef), but given that this is a C++ project, #pragma once would be more appropriate.

            Assignee:
            peter.macko@mongodb.com Peter Macko
            Reporter:
            peter.macko@mongodb.com Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: