Fix clang 3.8 build

This commit is contained in:
Jacob Dufault 2017-12-06 09:10:58 -08:00
parent ae40bfa208
commit 0e4148518a

View File

@ -22,6 +22,7 @@ void Reflect(Writer& visitor, lsCodeLensCommandArguments& value) {
Reflect(visitor, value.locations); Reflect(visitor, value.locations);
visitor.EndArray(); visitor.EndArray();
} }
#if false
void Reflect(Reader& visitor, lsCodeLensCommandArguments& value) { void Reflect(Reader& visitor, lsCodeLensCommandArguments& value) {
auto it = visitor.Begin(); auto it = visitor.Begin();
Reflect(*it, value.uri); Reflect(*it, value.uri);
@ -30,6 +31,7 @@ void Reflect(Reader& visitor, lsCodeLensCommandArguments& value) {
++it; ++it;
Reflect(*it, value.locations); Reflect(*it, value.locations);
} }
#endif
using TCodeLens = lsCodeLens<lsCodeLensUserData, lsCodeLensCommandArguments>; using TCodeLens = lsCodeLens<lsCodeLensUserData, lsCodeLensCommandArguments>;
struct Ipc_TextDocumentCodeLens : public IpcMessage<Ipc_TextDocumentCodeLens> { struct Ipc_TextDocumentCodeLens : public IpcMessage<Ipc_TextDocumentCodeLens> {