mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-24 23:44:25 +02:00
Some more cleanup
This commit is contained in:
@ -34,10 +34,7 @@ template<class T> bool JNXMap::readValue(T &val)
|
||||
if (_file.read((char*)&data, sizeof(T)) < (qint64)sizeof(T))
|
||||
return false;
|
||||
|
||||
if (sizeof(T) > 1)
|
||||
val = qFromLittleEndian(data);
|
||||
else
|
||||
val = data;
|
||||
val = qFromLittleEndian(data);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user