[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeutils/kcalc
From:       Evan Teran <eteran () alum ! rit ! edu>
Date:       2010-09-03 23:24:25
Message-ID: 20100903232425.9A498AC884 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1171481 by teran:

QVector<>::size() is an int, no need to cast it. I imagine this is a leftover from \
when std::vector<> was used (whose size is an unsigned type).



 M  +1 -1      stats.cpp  


--- trunk/KDE/kdeutils/kcalc/stats.cpp #1171480:1171481
@@ -186,7 +186,7 @@
 
 int KStats::count() const
 {
-    return static_cast<int>(data_.size());
+    return data_.size();
 }
 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic