Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Location:
code/branches/cpp11_v2/src/orxonox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/CameraManager.h

    r10990 r10992  
    5959
    6060        private:
     61            // non-copyable:
    6162            CameraManager(const CameraManager&) = delete;
     63            CameraManager& operator=(const CameraManager&) = delete;
    6264
    6365            std::list<Camera*>    cameraList_;
  • code/branches/cpp11_v2/src/orxonox/LevelManager.h

    r10990 r10992  
    109109
    110110        private:
     111            // non-copyable:
    111112            LevelManager(const LevelManager&) = delete;
     113            LevelManager& operator=(const LevelManager&) = delete;
    112114
    113115            void activateNextLevel(); //!< Activate the next level.
  • code/branches/cpp11_v2/src/orxonox/chat/ChatManager.h

    r10990 r10992  
    5353
    5454        protected:
     55            // non-copyable:
    5556            ChatManager(const ChatManager&) = delete;
     57            ChatManager& operator=(const ChatManager&) = delete;
    5658
    5759            virtual void incomingChat(const std::string& message, unsigned int sourceID) override;
Note: See TracChangeset for help on using the changeset viewer.