mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
changed size()==0
to empty()
This commit is contained in:
parent
dc00d320ec
commit
a324178fcb
@ -303,7 +303,7 @@ struct TextDocumentCompletionHandler : MessageHandler {
|
|||||||
out.result.items = results;
|
out.result.items = results;
|
||||||
|
|
||||||
// Emit completion results.
|
// Emit completion results.
|
||||||
if (existing_completion.size()==0 && is_global_completion) {
|
if (existing_completion.empty() && is_global_completion) {
|
||||||
LOG_S(INFO) << "Existing completion is empty, no completion results will be returned";
|
LOG_S(INFO) << "Existing completion is empty, no completion results will be returned";
|
||||||
Out_TextDocumentComplete out;
|
Out_TextDocumentComplete out;
|
||||||
out.id = request->id;
|
out.id = request->id;
|
||||||
|
Loading…
Reference in New Issue
Block a user