WSL/SLF GitLab Repository

Commit d14f4470 authored by Thomas Egger's avatar Thomas Egger
Browse files

Fix of streampos conversions within SNIO for g++ compilers 4.1.x.

parent 6ec9517a
......@@ -357,7 +357,7 @@ void SNIO::readMeteoData(const Date& dateStart, const Date& dateEnd,
//save stream position and the corresponding end date
if (current_fpointer != -1)[dateEnd] = current_fpointer;
if (current_fpointer != ((ifstream::pos_type)-1))[dateEnd] = current_fpointer;
} catch (std::exception& e){
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment