Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2015, 11:40:28 AM (10 years ago)
Author:
muemart
Message:

Run clang-modernize -add-override
A few notes:

  • There are probably some overrides missing, especially in funky templatey code
  • Virtual methods with wrong signatures were not fixed, needs to be done by hand (only warnings get emitted)
Location:
code/branches/cpp11_v2/src/orxonox/chat
Files:
3 edited

Legend:

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

    r10624 r10817  
    8282       * \param senderID Identification number of the sender
    8383       */
    84       virtual void incomingChat(const std::string& message, const std::string& name);
     84      virtual void incomingChat(const std::string& message, const std::string& name) override;
    8585
    8686      /** Synchronize logfile onto the hard drive
  • code/branches/cpp11_v2/src/orxonox/chat/ChatInputHandler.h

    r9675 r10817  
    125125       * history window of the full chat window)
    126126       */
    127       void incomingChat(const std::string& message, const std::string& name);
     127      void incomingChat(const std::string& message, const std::string& name) override;
    128128
    129129      /** \param full true means show full chat window with history,
  • code/branches/cpp11_v2/src/orxonox/chat/ChatManager.h

    r8858 r10817  
    5555            ChatManager(const ChatManager&);
    5656
    57             virtual void incomingChat(const std::string& message, unsigned int sourceID);
     57            virtual void incomingChat(const std::string& message, unsigned int sourceID) override;
    5858
    5959            static ChatManager* singletonPtr_s;
Note: See TracChangeset for help on using the changeset viewer.