From 12a18ca748a27111bb24a7f6518f831494e5ca47 Mon Sep 17 00:00:00 2001
From: Florent Le Coz <louiz@louiz.org>
Date: Thu, 21 Nov 2013 19:38:31 +0100
Subject: TIL override and final

---
 src/irc/irc_client.hpp      | 6 +++---
 src/xmpp/xmpp_component.hpp | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

(limited to 'src')

diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index aa420f4..4749cac 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -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
    */
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp
index 0c68497..e45c64b 100644
--- a/src/xmpp/xmpp_component.hpp
+++ b/src/xmpp/xmpp_component.hpp
@@ -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
-- 
cgit v1.2.3