Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 29, 2015, 4:47:42 PM (8 years ago)
Author:
landauf
Message:

use '= delete' to explicitly delete unimplemented copy-constructors (for non-copyable classes).
use '= default' to explicitly implement default constructors/destructors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/class/IdentifierManager.h

    r10988 r10990  
    5454        public:
    5555            IdentifierManager();
    56             ~IdentifierManager() {}
     56            ~IdentifierManager() = default;
    5757
    5858            void addIdentifier(Identifier* identifier);
     
    9595
    9696        private:
    97             IdentifierManager(const IdentifierManager&); // not implemented
     97            IdentifierManager(const IdentifierManager&) = delete;
    9898
    9999            /// Increases the hierarchyCreatingCounter_s variable, causing all new objects to store their parents.
Note: See TracChangeset for help on using the changeset viewer.