From 0026404b34b2f225cd2c337f0227e540767820ec Mon Sep 17 00:00:00 2001 From: Thomas Sanchez Date: Tue, 2 Mar 2021 10:02:12 +0100 Subject: [PATCH] Use new CPU counter function in cc module Broken since commit c5e3f4d6. --- modules/lang/cc/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/cc/config.el b/modules/lang/cc/config.el index fc0d0f4f4..e32818726 100644 --- a/modules/lang/cc/config.el +++ b/modules/lang/cc/config.el @@ -296,7 +296,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e (when (or IS-MAC IS-LINUX) (setq ccls-initialization-options `(:index (:trackDependency 1 - :threads ,(max 1 (/ (doom-num-cpus) 2)))))) + :threads ,(max 1 (/ (doom-system-cpus) 2)))))) (when IS-MAC (setq ccls-initialization-options (append ccls-initialization-options