From 0e4148518a7e494e5f0ef7be6be2a188961aae0f Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Wed, 6 Dec 2017 09:10:58 -0800 Subject: [PATCH] Fix clang 3.8 build --- src/messages/text_document_code_lens.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/messages/text_document_code_lens.cc b/src/messages/text_document_code_lens.cc index 89b80c5c..c77c905d 100644 --- a/src/messages/text_document_code_lens.cc +++ b/src/messages/text_document_code_lens.cc @@ -22,6 +22,7 @@ void Reflect(Writer& visitor, lsCodeLensCommandArguments& value) { Reflect(visitor, value.locations); visitor.EndArray(); } +#if false void Reflect(Reader& visitor, lsCodeLensCommandArguments& value) { auto it = visitor.Begin(); Reflect(*it, value.uri); @@ -30,6 +31,7 @@ void Reflect(Reader& visitor, lsCodeLensCommandArguments& value) { ++it; Reflect(*it, value.locations); } +#endif using TCodeLens = lsCodeLens; struct Ipc_TextDocumentCodeLens : public IpcMessage { @@ -253,4 +255,4 @@ struct TextDocumentCodeLensHandler } }; REGISTER_MESSAGE_HANDLER(TextDocumentCodeLensHandler); -} // namespace \ No newline at end of file +} // namespace