mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-19 12:05:50 +00:00
Fix clang 3.8 build
This commit is contained in:
parent
ae40bfa208
commit
0e4148518a
@ -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<lsCodeLensUserData, lsCodeLensCommandArguments>;
|
||||
struct Ipc_TextDocumentCodeLens : public IpcMessage<Ipc_TextDocumentCodeLens> {
|
||||
@ -253,4 +255,4 @@ struct TextDocumentCodeLensHandler
|
||||
}
|
||||
};
|
||||
REGISTER_MESSAGE_HANDLER(TextDocumentCodeLensHandler);
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
Loading…
Reference in New Issue
Block a user