Author: hdu
Date: Fri Jul 26 13:26:18 2013
New Revision: 1507307

URL: http://svn.apache.org/r1507307
Log:
#i122853# prevent use of slist::size() for all platforms

even for the once that emulate slist using std::list

Modified:
    openoffice/trunk/main/stlport/systemstl/slist

Modified: openoffice/trunk/main/stlport/systemstl/slist
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/stlport/systemstl/slist?rev=1507307&r1=1507306&r2=1507307&view=diff
==============================================================================
--- openoffice/trunk/main/stlport/systemstl/slist (original)
+++ openoffice/trunk/main/stlport/systemstl/slist Fri Jul 26 13:26:18 2013
@@ -64,6 +64,9 @@ public:
        typedef typename _super::const_iterator slist_cit;
 #ifndef STLP4_SLIST_WITH_LIST
        slist_mit insert( slist_cit aI, const T& rT) { return 
_super::insert_after( aI, rT); }
+#else
+private:
+       size_t size() const; // prevent use of slist::size() as forward_list 
doesn't have a size() method
 #endif
 };
 


Reply via email to