Fix several compile issues (#261)
Fixed several code issues. Mostly pedantic compiler warnings. But also a sign issue exposed by newer compilers (#228, #260)
This commit is contained in:
+3
-3
@@ -35,15 +35,15 @@ namespace glabels
|
||||
public:
|
||||
ParserState() = default;
|
||||
ParserState( const QString& string,
|
||||
unsigned int pos = 0 );
|
||||
qsizetype pos = 0 );
|
||||
~ParserState() = default;
|
||||
|
||||
QChar operator[]( unsigned int i ) const;
|
||||
QChar operator[]( qsizetype i ) const;
|
||||
bool isNextSubString( const QString& s ) const;
|
||||
qsizetype pos() const;
|
||||
qsizetype charsLeft() const;
|
||||
|
||||
void advanceChars( unsigned int i );
|
||||
void advanceChars( qsizetype i );
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user