summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-10-26 22:23:40 +0100
committerMurray Cumming <murrayc@murrayc.com>2015-10-26 22:23:40 +0100
commita305083346660ec154ea1364d5d8cb894622db3b (patch)
tree448206f9ba3416c991c45f83590a9f33cd5de965
parentd614fb94d6c522061d38478251faf2951d8c09f8 (diff)
downloadglibmm-a305083346660ec154ea1364d5d8cb894622db3b.tar.gz
C++11: Gio::*Source: Use the override keyword.
-rw-r--r--glib/glibmm/main.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/glib/glibmm/main.h b/glib/glibmm/main.h
index 2dd93587..51d7ff99 100644
--- a/glib/glibmm/main.h
+++ b/glib/glibmm/main.h
@@ -821,9 +821,9 @@ protected:
explicit TimeoutSource(unsigned int interval);
virtual ~TimeoutSource() noexcept;
- virtual bool prepare(int& timeout);
- virtual bool check();
- virtual bool dispatch(sigc::slot_base* slot);
+ bool prepare(int& timeout) override;
+ bool check() override;
+ bool dispatch(sigc::slot_base* slot) override;
private:
//TODO: Replace with gint64, because TimeVal is deprecated, when we can break ABI.
@@ -845,9 +845,9 @@ protected:
IdleSource();
virtual ~IdleSource() noexcept;
- virtual bool prepare(int& timeout);
- virtual bool check();
- virtual bool dispatch(sigc::slot_base* slot_data);
+ bool prepare(int& timeout) override;
+ bool check() override;
+ bool dispatch(sigc::slot_base* slot_data) override;
};
@@ -873,9 +873,9 @@ protected:
virtual ~IOSource() noexcept;
- virtual bool prepare(int& timeout);
- virtual bool check();
- virtual bool dispatch(sigc::slot_base* slot);
+ bool prepare(int& timeout) override;
+ bool check() override;
+ bool dispatch(sigc::slot_base* slot) override;
private:
PollFD poll_fd_;