LSP: Fix build

Change-Id: Ic43ce5e2f55dc450fb0a4628dc5de22a4a6f3dbd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2019-02-08 10:54:32 +01:00
parent 583e6ff5eb
commit dbf7c9f658

View File

@@ -25,6 +25,8 @@
#include "languagefeatures.h" #include "languagefeatures.h"
#include <cstddef>
namespace LanguageServerProtocol { namespace LanguageServerProtocol {
constexpr const char HoverRequest::methodName[]; constexpr const char HoverRequest::methodName[];
@@ -406,7 +408,7 @@ CodeActionResult::CodeActionResult(const QJsonValue &val)
emplace<ResultArray>(result); emplace<ResultArray>(result);
return; return;
} }
emplace<nullptr_t>(nullptr); emplace<std::nullptr_t>(nullptr);
} }
bool CodeAction::isValid(QStringList *error) const bool CodeAction::isValid(QStringList *error) const