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

    r10845 r10990  
    7171
    7272        //! Leave empty and use cleanup() instead
    73         ~GraphicsManager() {}
     73        ~GraphicsManager() = default;
    7474        /// Destructor that also executes when object fails to construct
    7575        void destroy();
     
    102102
    103103    private:
    104         GraphicsManager(GraphicsManager&); // don't mess with singletons
     104        GraphicsManager(const GraphicsManager&) = delete;
    105105
    106106        // OGRE initialisation
Note: See TracChangeset for help on using the changeset viewer.