mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 09:05:10 +00:00
Update command_line.cc, fixes #14
- error: lambda capture 'working_files' is not used - error: lambda capture 'config' is not used
This commit is contained in:
parent
c7c6a8ed39
commit
27a00d7ad3
@ -2004,7 +2004,7 @@ bool QueryDbMainLoop(Config* config,
|
||||
}
|
||||
|
||||
ClangCompleteManager::OnComplete callback = std::bind(
|
||||
[working_files, global_code_complete_cache,
|
||||
[global_code_complete_cache,
|
||||
non_global_code_complete_cache, is_global_completion,
|
||||
existing_completion,
|
||||
msg](const NonElidedVector<lsCompletionItem>& results,
|
||||
@ -3011,7 +3011,7 @@ void RunQueryDbThread(const std::string& bin_name,
|
||||
// |ipc| is connected to a server.
|
||||
void LaunchStdinLoop(Config* config,
|
||||
std::unordered_map<IpcId, Timer>* request_times) {
|
||||
WorkThread::StartThread("stdin", [config, request_times]() {
|
||||
WorkThread::StartThread("stdin", [request_times]() {
|
||||
IpcManager* ipc = IpcManager::instance();
|
||||
|
||||
std::unique_ptr<BaseIpcMessage> message =
|
||||
|
Loading…
Reference in New Issue
Block a user