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/XMLPort.h

    r10845 r10990  
    334334            XMLPortParamContainer()
    335335                { this->parseResult_ = PR_not_started; }
    336             virtual ~XMLPortParamContainer() {}
     336            virtual ~XMLPortParamContainer() = default;
    337337
    338338            inline const std::string& getName() const
     
    376376                this->loadexecutor_ = loadexecutor;
    377377                this->saveexecutor_ = saveexecutor;
    378             }
    379 
    380             ~XMLPortClassParamContainer()
    381             {
    382378            }
    383379
     
    511507            XMLPortObjectContainer()
    512508                { this->bApplyLoaderMask_ = false; }
    513             virtual ~XMLPortObjectContainer() {}
     509            virtual ~XMLPortObjectContainer() = default;
    514510
    515511            XMLPortObjectContainer& port(BaseObject* object, Element& xmlelement, XMLPort::Mode mode);
     
    550546                this->bApplyLoaderMask_ = bApplyLoaderMask;
    551547                this->bLoadBefore_ = bLoadBefore;
    552             }
    553 
    554             ~XMLPortClassObjectContainer()
    555             {
    556548            }
    557549
Note: See TracChangeset for help on using the changeset viewer.