~singpolyma/biboumi

12a18ca748a27111bb24a7f6518f831494e5ca47 — Florent Le Coz 11 years ago bfcc9cd
TIL override and final
2 files changed, 6 insertions(+), 6 deletions(-)

M src/irc/irc_client.hpp
M src/xmpp/xmpp_component.hpp
M src/irc/irc_client.hpp => src/irc/irc_client.hpp +3 -3
@@ 30,16 30,16 @@ public:
  /**
   * Called when successfully connected to the server
   */
  void on_connected();
  void on_connected() override final;
  /**
   * Close the connection, remove us from the poller
   */
  void on_connection_close();
  void on_connection_close() override final;
  /**
   * Parse the data we have received so far and try to get one or more
   * complete messages from it.
   */
  void parse_in_buffer();
  void parse_in_buffer() override final;
  /**
   * Return the channel with this name, create it if it does not yet exist
   */

M src/xmpp/xmpp_component.hpp => src/xmpp/xmpp_component.hpp +3 -3
@@ 20,9 20,9 @@ class XmppComponent: public SocketHandler
public:
  explicit XmppComponent(const std::string& hostname, const std::string& secret);
  ~XmppComponent();
  void on_connected();
  void on_connection_close();
  void parse_in_buffer();
  void on_connected() override final;
  void on_connection_close() override final;
  void parse_in_buffer() override final;

  /**
   * Connect to the XMPP server