forked from qt-creator/qt-creator
Nim: Fix warnings during build
Change-Id: I9201318c6bf2762c22d2a3f7778877a7db16be14 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
This commit is contained in:
committed by
Filippo Cucchetto
parent
cd00e64e37
commit
0b30cad820
@@ -52,8 +52,8 @@ public:
|
||||
private:
|
||||
bool canHandle(ProjectExplorer::Target *parent) const;
|
||||
|
||||
ProjectExplorer::RunConfiguration *doCreate(ProjectExplorer::Target *parent, Core::Id id);
|
||||
ProjectExplorer::RunConfiguration *doRestore(ProjectExplorer::Target *parent, const QVariantMap &map);
|
||||
ProjectExplorer::RunConfiguration *doCreate(ProjectExplorer::Target *parent, Core::Id id) override;
|
||||
ProjectExplorer::RunConfiguration *doRestore(ProjectExplorer::Target *parent, const QVariantMap &map) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -43,9 +43,7 @@ QSet<QString> asStringSet(const std::initializer_list<const char *> strings)
|
||||
namespace Nim {
|
||||
|
||||
NimLexer::NimLexer(const QChar *text, int length, State state)
|
||||
: m_text(text)
|
||||
, m_length(length)
|
||||
, m_state(state)
|
||||
: m_state(state)
|
||||
, m_stream(text, length)
|
||||
{}
|
||||
|
||||
|
||||
@@ -113,8 +113,6 @@ private:
|
||||
bool matchMultiLineStringLiteralStart();
|
||||
Token readMultiLineStringLiteral(bool moveForward = true);
|
||||
|
||||
const QChar *m_text;
|
||||
int m_length;
|
||||
State m_state;
|
||||
SourceCodeStream m_stream;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user