We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3742ae0 commit 9321669Copy full SHA for 9321669
src/libstore/globals.cc
@@ -150,7 +150,7 @@ std::vector<Path> getUserConfigFiles()
150
return files;
151
}
152
153
-unsigned int Settings::getDefaultCores() const
+unsigned int Settings::getDefaultCores()
154
{
155
const unsigned int concurrency = std::max(1U, std::thread::hardware_concurrency());
156
const unsigned int maxCPU = getMaxCPU();
src/libstore/include/nix/store/globals.hh
@@ -77,7 +77,7 @@ public:
77
78
Settings();
79
80
- unsigned int getDefaultCores() const;
+ static unsigned int getDefaultCores();
81
82
Path nixPrefix;
83
0 commit comments