Changeset 10990 for code/branches/cpp11_v2
- Timestamp:
- Dec 29, 2015, 4:47:42 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src
- Files:
-
- 65 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/ApplicationPaths.h
r10624 r10990 104 104 105 105 private: 106 ApplicationPaths(const ApplicationPaths&) ; //!< Don't use (undefined symbol)106 ApplicationPaths(const ApplicationPaths&) = delete; 107 107 108 108 std::vector<std::string> getModuleOrPluginPaths(boost::filesystem::path& directory, const std::string& extension); -
code/branches/cpp11_v2/src/libraries/core/ClassTreeMask.h
r10770 r10990 276 276 public: 277 277 /// Default-constructor: Does nothing. 278 inline ClassTreeMaskObjectIterator() {}278 inline ClassTreeMaskObjectIterator() = default; 279 279 /// Copy-Constructor: Initializes the iterator from another ClassTreeMask. 280 280 inline ClassTreeMaskObjectIterator(const ClassTreeMask& mask) { (*this) = mask; } -
code/branches/cpp11_v2/src/libraries/core/ConfigurablePaths.h
r10624 r10990 93 93 94 94 private: 95 ConfigurablePaths(const ConfigurablePaths&) ; //!< Don't use (undefined symbol)95 ConfigurablePaths(const ConfigurablePaths&) = delete; 96 96 97 97 boost::filesystem::path& dataPath_; //!< Path to the data files folder -
code/branches/cpp11_v2/src/libraries/core/Core.h
r10817 r10990 73 73 74 74 /// Leave empty and use destroy() instead 75 ~Core() {}75 ~Core() = default; 76 76 /// Destructor that also executes when the object fails to construct 77 77 void destroy(); … … 92 92 93 93 private: 94 Core(const Core&) ; //!< Don't use (undefined symbol)94 Core(const Core&) = delete; 95 95 96 96 void setThreadAffinity(int limitToCPU); -
code/branches/cpp11_v2/src/libraries/core/CoreConfig.h
r10624 r10990 76 76 public: 77 77 DevModeListener(); 78 virtual ~DevModeListener() {}78 virtual ~DevModeListener() = default; 79 79 virtual void devModeChanged(bool value) = 0; 80 80 }; -
code/branches/cpp11_v2/src/libraries/core/GUIManager.h
r10845 r10990 97 97 98 98 //! Leave empty and use cleanup() instead 99 ~GUIManager() {}99 ~GUIManager() = default; 100 100 /// Destructor that also executes when object fails to construct 101 101 void destroy(); … … 151 151 152 152 private: 153 GUIManager(const GUIManager& instance); //!< private and undefined copy c'tor (this is a singleton class)153 GUIManager(const GUIManager&) = delete; 154 154 155 155 void executeCode(const std::string& str); -
code/branches/cpp11_v2/src/libraries/core/Game.h
r10845 r10990 92 92 93 93 //! Leave empty and use cleanup() instead 94 ~Game() {}94 ~Game() = default; 95 95 /// Destructor that also executes when object fails to construct 96 96 void destroy(); … … 122 122 { 123 123 public: 124 virtual ~GameStateFactory() { }124 virtual ~GameStateFactory() = default; 125 125 static std::shared_ptr<GameState> fabricate(const GameStateInfo& info); 126 126 template <class T> … … 145 145 }; 146 146 147 Game( Game&); // don't mess with singletons147 Game(const Game&) = delete; 148 148 149 149 void loadGraphics(); -
code/branches/cpp11_v2/src/libraries/core/GameMode.h
r7401 r10990 63 63 64 64 private: 65 GameMode(); 66 GameMode(const GameMode& inst); 67 ~GameMode(); 65 // static class, no instances allowed: 66 GameMode() = delete; 67 GameMode(const GameMode&) = delete; 68 ~GameMode() = delete; 68 69 69 70 /// Checks if we're in control of the game (either standalone or server). -
code/branches/cpp11_v2/src/libraries/core/GraphicsManager.h
r10845 r10990 71 71 72 72 //! Leave empty and use cleanup() instead 73 ~GraphicsManager() {}73 ~GraphicsManager() = default; 74 74 /// Destructor that also executes when object fails to construct 75 75 void destroy(); … … 102 102 103 103 private: 104 GraphicsManager( GraphicsManager&); // don't mess with singletons104 GraphicsManager(const GraphicsManager&) = delete; 105 105 106 106 // OGRE initialisation -
code/branches/cpp11_v2/src/libraries/core/Language.h
r10624 r10990 171 171 172 172 private: 173 Language(const Language&) ;173 Language(const Language&) = delete; 174 174 175 175 void readDefaultLanguageFile(); -
code/branches/cpp11_v2/src/libraries/core/Resource.h
r10771 r10990 141 141 142 142 private: 143 Resource(); 144 ~Resource(); 145 Resource(const Resource& instance); 143 // static class, no instances allowed: 144 Resource() = delete; 145 Resource(const Resource&) = delete; 146 ~Resource() = delete; 146 147 }; 147 148 } -
code/branches/cpp11_v2/src/libraries/core/ViewportEventListener.h
r9667 r10990 44 44 protected: 45 45 ViewportEventListener(); 46 virtual ~ViewportEventListener() {}46 virtual ~ViewportEventListener() = default; 47 47 }; 48 48 } -
code/branches/cpp11_v2/src/libraries/core/WindowEventListener.h
r9667 r10990 47 47 protected: 48 48 WindowEventListener(); 49 virtual ~WindowEventListener() { }49 virtual ~WindowEventListener() = default; 50 50 51 51 //! Returns the current render window width -
code/branches/cpp11_v2/src/libraries/core/XMLNameListener.h
r9667 r10990 44 44 public: 45 45 XMLNameListener(); 46 virtual ~XMLNameListener() {}46 virtual ~XMLNameListener() = default; 47 47 48 48 virtual void loadedNewXMLName(BaseObject* object) = 0; -
code/branches/cpp11_v2/src/libraries/core/XMLPort.h
r10845 r10990 334 334 XMLPortParamContainer() 335 335 { this->parseResult_ = PR_not_started; } 336 virtual ~XMLPortParamContainer() {}336 virtual ~XMLPortParamContainer() = default; 337 337 338 338 inline const std::string& getName() const … … 376 376 this->loadexecutor_ = loadexecutor; 377 377 this->saveexecutor_ = saveexecutor; 378 }379 380 ~XMLPortClassParamContainer()381 {382 378 } 383 379 … … 511 507 XMLPortObjectContainer() 512 508 { this->bApplyLoaderMask_ = false; } 513 virtual ~XMLPortObjectContainer() {}509 virtual ~XMLPortObjectContainer() = default; 514 510 515 511 XMLPortObjectContainer& port(BaseObject* object, Element& xmlelement, XMLPort::Mode mode); … … 550 546 this->bApplyLoaderMask_ = bApplyLoaderMask; 551 547 this->bLoadBefore_ = bLoadBefore; 552 }553 554 ~XMLPortClassObjectContainer()555 {556 548 } 557 549 -
code/branches/cpp11_v2/src/libraries/core/class/Identifier.h
r10920 r10990 118 118 public: 119 119 Identifier(const std::string& name, Factory* factory, bool bLoadable); 120 Identifier(const Identifier& identifier); // don't copy120 Identifier(const Identifier&) = delete; 121 121 virtual ~Identifier(); 122 122 … … 302 302 303 303 private: 304 ClassIdentifier(const ClassIdentifier<T>& identifier) {} // don't copy304 ClassIdentifier(const ClassIdentifier<T>&) = delete; 305 305 306 306 void setConfigValues(T* object, Configurable*) const; -
code/branches/cpp11_v2/src/libraries/core/class/IdentifierManager.h
r10988 r10990 54 54 public: 55 55 IdentifierManager(); 56 ~IdentifierManager() {}56 ~IdentifierManager() = default; 57 57 58 58 void addIdentifier(Identifier* identifier); … … 95 95 96 96 private: 97 IdentifierManager(const IdentifierManager&) ; // not implemented97 IdentifierManager(const IdentifierManager&) = delete; 98 98 99 99 /// Increases the hierarchyCreatingCounter_s variable, causing all new objects to store their parents. -
code/branches/cpp11_v2/src/libraries/core/command/CommandExecutor.h
r10768 r10990 132 132 133 133 private: 134 CommandExecutor() {}///< Empty constructor135 CommandExecutor(const CommandExecutor& other);///< Not implemented copy-constructor136 ~CommandExecutor() {}///< Empty destructor134 CommandExecutor() = default; ///< Empty constructor 135 CommandExecutor(const CommandExecutor&) = delete; ///< Not implemented copy-constructor 136 ~CommandExecutor() = default; ///< Empty destructor 137 137 138 138 static CommandExecutor& getInstance(); -
code/branches/cpp11_v2/src/libraries/core/command/Executor.cc
r10765 r10990 64 64 defaultValue_[i] = other.defaultValue_[i]; 65 65 this->functor_ = other.functor_->clone(); 66 }67 68 /**69 @brief Destructor70 */71 Executor::~Executor()72 {73 66 } 74 67 -
code/branches/cpp11_v2/src/libraries/core/command/Executor.h
r10828 r10990 100 100 Executor(const FunctorPtr& functor, const std::string& name = ""); 101 101 Executor(const Executor& other); 102 virtual ~Executor() ;102 virtual ~Executor() = default; 103 103 104 104 /// Calls the wrapped function with 0 arguments. If the function needs more arguments, the executor's default values are used. -
code/branches/cpp11_v2/src/libraries/core/command/Functor.h
r10987 r10990 187 187 188 188 public: 189 virtual ~Functor() {}189 virtual ~Functor() = default; 190 190 191 191 /// Calls the function-pointer with up to five arguments. In case of a member-function, the assigned object-pointer is used to call the function. @return Returns the return-value of the function (if any; MultiType::Null otherwise) -
code/branches/cpp11_v2/src/libraries/core/command/IRC.h
r7401 r10990 65 65 66 66 IRC(); 67 IRC(const IRC& other); ///< Copy-constructor: Not implemented68 ~IRC() {} ///< Destructor67 IRC(const IRC&) = delete; 68 ~IRC() = default; 69 69 70 70 Tcl::interpreter* interpreter_; ///< The Tcl interpreter that is used for the IRC connection -
code/branches/cpp11_v2/src/libraries/core/command/Shell.h
r10845 r10990 61 61 62 62 public: 63 virtual ~ShellListener() {} 63 ShellListener() = default; 64 virtual ~ShellListener() = default; 64 65 65 66 private: … … 148 149 149 150 private: 150 Shell(const Shell& other);151 Shell(const Shell&) = delete; 151 152 152 153 // DevModeListener -
code/branches/cpp11_v2/src/libraries/core/command/TclBind.h
r10768 r10990 124 124 125 125 private: 126 TclBind(const TclBind& other); ///< Copy-constructor, not implemented126 TclBind(const TclBind&) = delete; 127 127 128 128 static std::string tcl_helper(Tcl::object const &args, bool bQuery); -
code/branches/cpp11_v2/src/libraries/core/commandline/CommandLineParser.h
r10542 r10990 107 107 108 108 private: 109 //! Undefined copy constructor 110 CommandLineArgument(const CommandLineArgument& instance); 109 CommandLineArgument(const CommandLineArgument&) = delete; 111 110 112 111 //! Parses the value string of a command line argument. -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileEntry.h
r9559 r10990 51 51 public: 52 52 /// Destructor 53 virtual ~ConfigFileEntry() {};53 virtual ~ConfigFileEntry() = default; 54 54 55 55 /// Changes the value of the entry. -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileEntryComment.h
r10845 r10990 54 54 55 55 /// Destructor 56 virtual inline ~ConfigFileEntryComment() {}56 virtual inline ~ConfigFileEntryComment() = default; 57 57 58 58 virtual inline const std::string& getName() const override -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileEntryValue.h
r10845 r10990 67 67 68 68 /// Destructor 69 virtual inline ~ConfigFileEntryValue() {}69 virtual inline ~ConfigFileEntryValue() = default; 70 70 71 71 virtual inline const std::string& getName() const override -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileEntryVectorValue.h
r10845 r10990 65 65 66 66 /// Destructor 67 inline ~ConfigFileEntryVectorValue() {}67 inline ~ConfigFileEntryVectorValue() = default; 68 68 69 69 virtual inline unsigned int getIndex() const override -
code/branches/cpp11_v2/src/libraries/core/config/ConfigFileManager.h
r10776 r10990 67 67 68 68 private: 69 ConfigFileManager(const ConfigFileManager&) ; ///< Copy-constructor: not implemented69 ConfigFileManager(const ConfigFileManager&) = delete; 70 70 71 71 std::array<ConfigFile*, 3> configFiles_; ///< Stores the config files for each type in an array (must have the same size like ConfigFileType::Value) -
code/branches/cpp11_v2/src/libraries/core/config/ConfigValueContainer.h
r10918 r10990 67 67 public: 68 68 inline ConfigValueCallback(void (T::*function) (void)) : function_(function) {} 69 virtual inline ~ConfigValueCallback() {}69 virtual inline ~ConfigValueCallback() = default; 70 70 virtual inline void call(void* object) override 71 71 { -
code/branches/cpp11_v2/src/libraries/core/input/InputBuffer.h
r10845 r10990 47 47 trueKeyFalseChar_(trueKeyFalseChar), char_(_char), key_(key) 48 48 { } 49 virtual ~BaseInputBufferListenerTuple() { }49 virtual ~BaseInputBufferListenerTuple() = default; 50 50 virtual void callFunction() = 0; 51 51 bool bListenToAllChanges_; … … 65 65 listener_(listener), function_(function) 66 66 { } 67 virtual ~InputBufferListenerTuple() { }67 virtual ~InputBufferListenerTuple() = default; 68 68 virtual void callFunction() override 69 69 { -
code/branches/cpp11_v2/src/libraries/core/input/InputCommands.h
r10845 r10990 57 57 public: 58 58 BaseCommand() : bFixedKeybindMode_(false) {} 59 virtual ~BaseCommand() { }59 virtual ~BaseCommand() = default; 60 60 61 61 virtual bool execute(float abs = 1.0f, float rel = 1.0f) = 0; -
code/branches/cpp11_v2/src/libraries/core/input/InputDevice.h
r10916 r10990 60 60 //! Only resets the members 61 61 InputDevice(unsigned int id) : bCalibrating_(false), deviceID_(id) { } 62 virtual ~InputDevice() { }62 virtual ~InputDevice() = default; 63 63 //! Returns the device class (derived) name as string 64 64 virtual std::string getClassName() const = 0; … … 99 99 100 100 private: 101 InputDevice(const InputDevice& rhs); //!< Don't use!101 InputDevice(const InputDevice&) = delete; 102 102 103 103 bool bCalibrating_; //!< Whether the device is in calibration mode -
code/branches/cpp11_v2/src/libraries/core/input/InputHandler.h
r8729 r10990 119 119 { 120 120 public: 121 virtual ~InputHandler() { }121 virtual ~InputHandler() = default; 122 122 123 123 template<class T> void buttonEvent(unsigned int device, T button, ButtonEvent::TPress) -
code/branches/cpp11_v2/src/libraries/core/input/InputManager.h
r10845 r10990 192 192 193 193 private: // functions 194 // don't mess with a Singleton 195 InputManager(const InputManager&); 194 InputManager(const InputManager&) = delete; 196 195 197 196 // Internal methods -
code/branches/cpp11_v2/src/libraries/core/input/InputState.h
r10845 r10990 155 155 private: 156 156 InputState(const std::string& name, bool bAlwaysGetsInput, bool bTransparent, InputStatePriority priority); 157 ~InputState() { }157 ~InputState() = default; 158 158 159 159 virtual void JoyStickQuantityChanged(const std::vector<JoyStick*>& joyStickList) override; -
code/branches/cpp11_v2/src/libraries/core/input/JoyStick.h
r10845 r10990 70 70 //! Assigns a generated ID string and loads the calibration (if present) 71 71 JoyStick(unsigned int id, OIS::InputManager* oisInputManager); 72 ~JoyStick() { }72 ~JoyStick() = default; 73 73 void setConfigValues(); 74 74 -
code/branches/cpp11_v2/src/libraries/core/input/JoyStickQuantityListener.h
r9667 r10990 48 48 protected: 49 49 JoyStickQuantityListener(); 50 virtual ~JoyStickQuantityListener() { }50 virtual ~JoyStickQuantityListener() = default; 51 51 52 52 //! Returns a list with all JoySticks currently loaded -
code/branches/cpp11_v2/src/libraries/core/input/KeyBinderManager.h
r10829 r10990 102 102 103 103 private: 104 KeyBinderManager(const KeyBinderManager&) ;104 KeyBinderManager(const KeyBinderManager&) = delete; 105 105 void keybindInternal(const std::string& command, bool bTemporary); 106 106 void keybindKeyPressed(const std::string& keyName); -
code/branches/cpp11_v2/src/libraries/core/input/KeyDetector.h
r10845 r10990 48 48 49 49 private: 50 KeyDetector(const KeyDetector&) ;50 KeyDetector(const KeyDetector&) = delete; 51 51 52 52 void callback(const std::string& name); -
code/branches/cpp11_v2/src/libraries/core/input/Keyboard.h
r10845 r10990 63 63 //! Only resets the keyboard modifiers. Initialising is done in the base class. 64 64 Keyboard(unsigned int id, OIS::InputManager* oisInputManager) : super(id, oisInputManager), modifiers_(0) { } 65 ~Keyboard() { }65 ~Keyboard() = default; 66 66 67 67 private: -
code/branches/cpp11_v2/src/libraries/core/module/StaticInitializationHandler.h
r10532 r10990 37 37 { 38 38 public: 39 StaticInitializationHandler() {}40 virtual ~StaticInitializationHandler() {}39 StaticInitializationHandler() = default; 40 virtual ~StaticInitializationHandler() = default; 41 41 42 42 virtual void setupHandler() = 0; -
code/branches/cpp11_v2/src/libraries/core/module/StaticInitializationManager.h
r10542 r10990 43 43 44 44 public: 45 StaticInitializationManager() {}46 virtual ~StaticInitializationManager() {}45 StaticInitializationManager() = default; 46 virtual ~StaticInitializationManager() = default; 47 47 48 48 void addHandler(StaticInitializationHandler* handler); -
code/branches/cpp11_v2/src/libraries/core/object/ClassFactory.h
r9667 r10990 53 53 { 54 54 public: 55 virtual ~Factory() {} 55 Factory() = default; 56 virtual ~Factory() = default; 56 57 virtual Identifiable* fabricate(Context* context) = 0; 57 58 }; -
code/branches/cpp11_v2/src/libraries/core/object/ObjectListBase.h
r10817 r10990 104 104 { 105 105 public: 106 virtual ~ObjectListElementRemovalListener() {} 106 ObjectListElementRemovalListener = default; 107 virtual ~ObjectListElementRemovalListener() = default; 107 108 virtual void removedElement(ObjectListBaseElement* element) = 0; 108 109 }; -
code/branches/cpp11_v2/src/libraries/core/singleton/Scope.h
r10514 r10990 72 72 protected: 73 73 ScopeListener() : bActivated_(false) { } 74 virtual ~ScopeListener() { }74 virtual ~ScopeListener() = default; 75 75 76 76 //! Gets called if the scope is activated -
code/branches/cpp11_v2/src/libraries/core/singleton/ScopedSingletonWrapper.h
r10845 r10990 64 64 : className_(className) 65 65 { } 66 virtual ~ScopedSingletonWrapper() { }66 virtual ~ScopedSingletonWrapper() = default; 67 67 68 68 protected: -
code/branches/cpp11_v2/src/libraries/tools/ResourceCollection.cc
r10765 r10990 48 48 } 49 49 50 ResourceCollection::~ResourceCollection()51 {52 }53 54 50 void ResourceCollection::XMLPort(Element& xmlelement, XMLPort::Mode mode) 55 51 { -
code/branches/cpp11_v2/src/libraries/tools/ResourceCollection.h
r10817 r10990 42 42 public: 43 43 ResourceCollection(Context* context); 44 virtual ~ResourceCollection() ;44 virtual ~ResourceCollection() = default; 45 45 46 46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; … … 54 54 55 55 private: 56 ResourceCollection(const ResourceCollection&) ;56 ResourceCollection(const ResourceCollection&) = delete; 57 57 58 58 std::string resourceGroup_; -
code/branches/cpp11_v2/src/libraries/tools/ResourceLocation.cc
r10624 r10990 54 54 } 55 55 56 ResourceLocation::~ResourceLocation()57 {58 }59 60 56 void ResourceLocation::XMLPort(Element& xmlelement, XMLPort::Mode mode) 61 57 { -
code/branches/cpp11_v2/src/libraries/tools/ResourceLocation.h
r10817 r10990 44 44 public: 45 45 ResourceLocation(Context* context); 46 virtual ~ResourceLocation() ;46 virtual ~ResourceLocation() = default; 47 47 48 48 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; … … 60 60 61 61 private: 62 ResourceLocation(const ResourceLocation&) ;62 ResourceLocation(const ResourceLocation&) = delete; 63 63 64 64 void load(const std::string& resourceGroup); -
code/branches/cpp11_v2/src/libraries/tools/TextureGenerator.h
r10769 r10990 49 49 50 50 private: 51 TextureGenerator(); 52 TextureGenerator(const TextureGenerator&); 53 ~TextureGenerator(); 51 // static class, no instances allowed: 52 TextureGenerator() = delete; 53 TextureGenerator(const TextureGenerator&) = delete; 54 ~TextureGenerator() = delete; 54 55 55 56 static std::map<std::string, std::map<ColourValue, std::string>> materials_s; -
code/branches/cpp11_v2/src/libraries/tools/interfaces/TimeFactorListener.h
r9667 r10990 39 39 public: 40 40 TimeFactorListener(); 41 virtual ~TimeFactorListener() {}41 virtual ~TimeFactorListener() = default; 42 42 43 43 static void setTimeFactor(float factor); -
code/branches/cpp11_v2/src/libraries/util/Clock.h
r7401 r10990 102 102 103 103 private: 104 /// Undefined 105 Clock(const Clock& instance); 104 Clock(const Clock&) = delete; 106 105 107 106 Ogre::Timer* timer_; ///< Ogre timer object -
code/branches/cpp11_v2/src/libraries/util/DestructionHelper.h
r10765 r10990 87 87 88 88 private: 89 DestructionHelper(const DestructionHelper&) ; //!< Don't use (undefined)89 DestructionHelper(const DestructionHelper&) = delete; 90 90 91 91 T* object_; -
code/branches/cpp11_v2/src/libraries/util/ImplicitConversion.h
r8267 r10990 68 68 { 69 69 private: 70 ImplicitConversion(); ImplicitConversion(const ImplicitConversion&); ~ImplicitConversion(); 70 // static class, no instances allowed: 71 ImplicitConversion() = delete; 72 ImplicitConversion(const ImplicitConversion&) = delete; 73 ~ImplicitConversion() = delete; 71 74 // Gets chosen only if there is an implicit conversion from FromType to ToType. 72 75 static char test(ToType); -
code/branches/cpp11_v2/src/libraries/util/Singleton.h
r10765 r10990 144 144 145 145 private: 146 Singleton(const Singleton& rhs); //!< Don't use (undefined)146 Singleton(const Singleton&) = delete; 147 147 }; 148 148 } -
code/branches/cpp11_v2/src/libraries/util/output/ConsoleWriter.h
r10817 r10990 53 53 public: 54 54 ConsoleWriter(std::ostream& outputStream); 55 ConsoleWriter(const ConsoleWriter&) ;55 ConsoleWriter(const ConsoleWriter&) = delete; 56 56 virtual ~ConsoleWriter(); 57 57 -
code/branches/cpp11_v2/src/libraries/util/output/LogWriter.h
r10817 r10990 57 57 public: 58 58 LogWriter(); 59 LogWriter(const LogWriter&) ;59 LogWriter(const LogWriter&) = delete; 60 60 virtual ~LogWriter(); 61 61 -
code/branches/cpp11_v2/src/libraries/util/output/MemoryWriter.h
r10817 r10990 68 68 public: 69 69 MemoryWriter(); 70 MemoryWriter(const MemoryWriter&) ;70 MemoryWriter(const MemoryWriter&) = delete; 71 71 virtual ~MemoryWriter(); 72 72 -
code/branches/cpp11_v2/src/libraries/util/output/OutputManager.h
r10829 r10990 67 67 public: 68 68 OutputManager(); 69 OutputManager(const OutputManager&) ;69 OutputManager(const OutputManager&) = delete; 70 70 virtual ~OutputManager(); 71 71 -
code/branches/cpp11_v2/src/orxonox/CameraManager.h
r9667 r10990 59 59 60 60 private: 61 CameraManager(const CameraManager&) ; // don't use61 CameraManager(const CameraManager&) = delete; 62 62 63 63 std::list<Camera*> cameraList_; -
code/branches/cpp11_v2/src/orxonox/LevelManager.h
r10258 r10990 109 109 110 110 private: 111 LevelManager(const LevelManager&) ;111 LevelManager(const LevelManager&) = delete; 112 112 113 113 void activateNextLevel(); //!< Activate the next level. -
code/branches/cpp11_v2/src/orxonox/chat/ChatManager.h
r10817 r10990 47 47 public: 48 48 ChatManager(); 49 virtual ~ChatManager() {}49 virtual ~ChatManager() = default; 50 50 51 51 static void message(const std::string& message, unsigned int targetID = NETWORK_PEER_ID_BROADCAST); … … 53 53 54 54 protected: 55 ChatManager(const ChatManager&) ;55 ChatManager(const ChatManager&) = delete; 56 56 57 57 virtual void incomingChat(const std::string& message, unsigned int sourceID) override;
Note: See TracChangeset
for help on using the changeset viewer.