Commit 0b30cad8 authored by Tobias Hunger's avatar Tobias Hunger Committed by Filippo Cucchetto

Nim: Fix warnings during build

Change-Id: I9201318c6bf2762c22d2a3f7778877a7db16be14
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
Reviewed-by: default avatarFilippo Cucchetto <filippocucchetto@gmail.com>
parent cd00e64e
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment