Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 29, 2015, 5:16:28 PM (8 years ago)
Author:
landauf
Message:

for all non-copyable classes (i.e. those with deleted copy-constructor) I added also a deleted assignment operator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/command/CommandExecutor.h

    r10990 r10992  
    133133        private:
    134134            CommandExecutor() = default;                      ///< Empty constructor
    135             CommandExecutor(const CommandExecutor&) = delete; ///< Not implemented copy-constructor
    136135            ~CommandExecutor() = default;                     ///< Empty destructor
     136
     137            // non-copyable:
     138            CommandExecutor(const CommandExecutor&) = delete;
     139            CommandExecutor& operator=(const CommandExecutor&) = delete;
    137140
    138141            static CommandExecutor& getInstance();
Note: See TracChangeset for help on using the changeset viewer.