mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Code cleanup
This commit is contained in:
parent
8591d3f34c
commit
324ac2e0f4
@ -1,9 +1,9 @@
|
||||
#include "tcxparser.h"
|
||||
|
||||
|
||||
void TCXParser::warning(const char *text)
|
||||
void TCXParser::warning(const char *text) const
|
||||
{
|
||||
QFile *file = static_cast<QFile *>(_reader.device());
|
||||
const QFile *file = static_cast<QFile *>(_reader.device());
|
||||
fprintf(stderr, "%s:%lld: %s\n", qPrintable(file->fileName()),
|
||||
_reader.lineNumber(), text);
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ private:
|
||||
qreal number();
|
||||
QDateTime time();
|
||||
|
||||
void warning(const char *text);
|
||||
void warning(const char *text) const;
|
||||
|
||||
QXmlStreamReader _reader;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user