[Libreoffice-commits] core.git: include/vcl

Stephan Bergmann sbergman at redhat.com
Tue Oct 13 06:35:06 PDT 2015


 include/vcl/vclptr.hxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit d2f3756de7c4b7dbca90ff9403f2fa6bff37daf6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 13 15:34:23 2015 +0200

    No std container requires operator >
    
    Change-Id: Ic5befe71c9cb4ffa37b3298b269bcd7ef713b937

diff --git a/include/vcl/vclptr.hxx b/include/vcl/vclptr.hxx
index ce2cd35..0eb16a9 100644
--- a/include/vcl/vclptr.hxx
+++ b/include/vcl/vclptr.hxx
@@ -213,13 +213,6 @@ public:
     {
         return (m_rInnerRef < handle.m_rInnerRef);
     }
-
-    /** Needed to place VclPtr's into STL collection.
-     */
-    inline bool operator> (const VclPtr<reference_type> & handle) const
-    {
-        return (m_rInnerRef > handle.m_rInnerRef);
-    }
 }; // class VclPtr
 
 template<typename T1, typename T2>


More information about the Libreoffice-commits mailing list