[glibmm] StreamIOChannel: Use the override keyword.



commit e167cd7041a8aa9b70c67d0e9ef30b8693916164
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Nov 6 11:21:11 2015 +0100

    StreamIOChannel: Use the override keyword.

 glib/glibmm/streamiochannel.h |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/glib/glibmm/streamiochannel.h b/glib/glibmm/streamiochannel.h
index 7c243ba..8b6f98c 100644
--- a/glib/glibmm/streamiochannel.h
+++ b/glib/glibmm/streamiochannel.h
@@ -46,13 +46,13 @@ protected:
 
   StreamIOChannel(std::istream* stream_in, std::ostream* stream_out);
 
-  virtual IOStatus read_vfunc(char* buf, gsize count, gsize& bytes_read);
-  virtual IOStatus write_vfunc(const char* buf, gsize count, gsize& bytes_written);
-  virtual IOStatus seek_vfunc(gint64 offset, SeekType type);
-  virtual IOStatus close_vfunc();
-  virtual IOStatus set_flags_vfunc(IOFlags flags);
-  virtual IOFlags  get_flags_vfunc();
-  virtual Glib::RefPtr<Glib::Source> create_watch_vfunc(IOCondition cond);
+  IOStatus read_vfunc(char* buf, gsize count, gsize& bytes_read) override;
+  IOStatus write_vfunc(const char* buf, gsize count, gsize& bytes_written) override;
+  IOStatus seek_vfunc(gint64 offset, SeekType type) override;
+  IOStatus close_vfunc() override;
+  IOStatus set_flags_vfunc(IOFlags flags) override;
+  IOFlags get_flags_vfunc() override;
+  Glib::RefPtr<Glib::Source> create_watch_vfunc(IOCondition cond) override;
 };
 
 #endif //#GLIBMM_DISABLE_DEPRECATED


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]