The C++ access modifies should not be indented

XMLWordPrintableJSON

    • Type: Technical Debt
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.2.0, 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      WiredTiger uses a different convention for C++ access modifiers (public/protected/private) from the rest of MongoDB. For example, we have:

       

      class component {
          public:
          component(const std::string &name, configuration *config);
          virtual ~component();
          ...
      

      MongoDB uses the much more common C++ convention, which does not have them indented. For example, this code should be:

      class component {
      public:
          component(const std::string &name, configuration *config);
          virtual ~component();
          ...

      We too should adopt this convention.

              Assignee:
              Peter Macko
              Reporter:
              Peter Macko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: