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/command/IRC.h

    r7401 r10990  
    6565
    6666            IRC();
    67             IRC(const IRC& other);              ///< Copy-constructor: Not implemented
    68             ~IRC() {}                           ///< Destructor
     67            IRC(const IRC&) = delete;
     68            ~IRC() = default;
    6969
    7070            Tcl::interpreter* interpreter_;     ///< The Tcl interpreter that is used for the IRC connection
Note: See TracChangeset for help on using the changeset viewer.