]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/SGSmplstat.cxx
Use the original filename for the compressed image message.
[simgear.git] / simgear / structure / SGSmplstat.cxx
index 6c1afde77c5504257c961d3bcb04035011f36672..3135cf0b0c950358a4374549179421bd2b13bd52 100644 (file)
@@ -15,9 +15,6 @@ You should have received a copy of the GNU Library General Public
 License along with this library; if not, write to the Free Software
 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include <math.h>
 
@@ -84,6 +81,7 @@ void SampleStatistic::operator += (double value)
 {
   n += 1;
   x += value;
+  allTimeTotal += value;
   x2 += (value * value);
   if (minValue > value)
     minValue = value;