From 102de09706c3411933514b512d98e7ae31eef883 Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Mon, 24 Jun 2024 00:01:59 +0800 Subject: [PATCH] nixd/Controller: default ignore nullptr AST (#529) --- nixd/include/nixd/Controller/Controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixd/include/nixd/Controller/Controller.h b/nixd/include/nixd/Controller/Controller.h index 6f6611451..26bdf3804 100644 --- a/nixd/include/nixd/Controller/Controller.h +++ b/nixd/include/nixd/Controller/Controller.h @@ -111,7 +111,7 @@ class Controller : public lspserver::LSPServer { template std::shared_ptr getTU(std::string File, lspserver::Callback &Reply, - bool Ignore = false) { + bool Ignore = true) { using lspserver::error; std::lock_guard G(TUsLock); if (!TUs.count(File)) [[unlikely]] {