[vlc-commits] Const correctness

Jean-Baptiste Kempf git at videolan.org
Tue Jan 24 17:15:44 CET 2012


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jan 24 17:13:56 2012 +0100| [cb0c75d8f8e8ec86a228fb6217b402382c6f986c] | committer: Jean-Baptiste Kempf

Const correctness

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=cb0c75d8f8e8ec86a228fb6217b402382c6f986c
---

 npapi/vlcplugin_base.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/npapi/vlcplugin_base.h b/npapi/vlcplugin_base.h
index 174f765..f169612 100644
--- a/npapi/vlcplugin_base.h
+++ b/npapi/vlcplugin_base.h
@@ -126,7 +126,7 @@ private:
         ~Listener()
             {
             }
-        const libvlc_event_type_t event_type() const { return _event->libvlc_type; }
+        libvlc_event_type_t event_type() const { return _event->libvlc_type; }
         NPObject *listener() const { return _listener; }
         bool bubble() const { return _bubble; }
     private:
@@ -146,9 +146,9 @@ private:
         ~VLCEvent()
             {
             }
-        const libvlc_event_type_t event_type() { return _libvlc_event_type; }
+        libvlc_event_type_t event_type() const { return _libvlc_event_type; }
         NPVariant *params() const { return _npparams; }
-        const uint32_t count() { return _npcount; }
+        uint32_t count() const { return _npcount; }
     private:
         libvlc_event_type_t _libvlc_event_type;
         NPVariant *_npparams;



More information about the vlc-commits mailing list