1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Cosmetics

This commit is contained in:
Martin Tůma 2021-08-18 21:33:07 +02:00
parent 221d1b3fdb
commit 8d8a31eef9

View File

@ -4,17 +4,17 @@
#include "omdparser.h" #include "omdparser.h"
static quint16 u16(const char *buffer) static inline quint16 u16(const char *buffer)
{ {
return qFromLittleEndian<quint16>(buffer); return qFromLittleEndian<quint16>(buffer);
} }
static qint16 s16(const char *buffer) static inline qint16 s16(const char *buffer)
{ {
return qFromLittleEndian<qint16>(buffer); return qFromLittleEndian<qint16>(buffer);
} }
static qint32 s32(const char *buffer) static inline qint32 s32(const char *buffer)
{ {
return qFromLittleEndian<qint32>(buffer); return qFromLittleEndian<qint32>(buffer);
} }