[Kst] branches/work/kst/portto4/kst/src/datasources/ascii

Peter Kümmel syntheticpp at gmx.net
Sun Oct 14 12:03:45 UTC 2012


SVN commit 1320491 by kuemmel:

GCC fixes

 M  +4 -1      asciidatareader.cpp  
 M  +1 -1      asciifilebuffer.h  


--- branches/work/kst/portto4/kst/src/datasources/ascii/asciidatareader.cpp #1320490:1320491
@@ -36,7 +36,10 @@
 
 
 //-------------------------------------------------------------------------------------------
-AsciiDataReader::AsciiDataReader(AsciiSourceConfig& config) : _config(config)
+AsciiDataReader::AsciiDataReader(AsciiSourceConfig& config) :
+  _config(config),
+  isDigit(),
+  isWhiteSpace()
 {
 }
 
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciifilebuffer.h #1320490:1320491
@@ -33,7 +33,7 @@
 
   typedef QVarLengthArray<char, Prealloc> Array;
   
-  inline AsciiFileBuffer() : _begin(-1), _bytesRead(-1), _array(new Array) {}
+  inline AsciiFileBuffer() : _array(new Array), _begin(-1), _bytesRead(-1) {}
   inline ~AsciiFileBuffer() { delete _array; }
 
   inline int begin() const { return _begin; }


More information about the Kst mailing list