From c64eed7d07ad432fa9c5ea979d1039a5207f4629 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 25 Jan 2024 14:48:53 -0500 Subject: [PATCH] Simplify `StoreConfig::getDefaultSystemFeatures` call That method is now static. --- src/hydra-queue-runner/hydra-queue-runner.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 1cbcafea..df79e1dc 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -15,7 +15,6 @@ #include "state.hh" #include "hydra-build-result.hh" #include "store-api.hh" -#include "local-store.hh" #include "remote-store.hh" #include "globals.hh" @@ -227,7 +226,7 @@ void State::monitorMachinesFile() parseMachines("localhost " + (settings.thisSystem == "x86_64-linux" ? "x86_64-linux,i686-linux" : settings.thisSystem.get()) + " - " + std::to_string(settings.maxBuildJobs) + " 1 " - + concatStringsSep(",", (LocalStoreConfig { {} }).getDefaultSystemFeatures())); + + concatStringsSep(",", StoreConfig::getDefaultSystemFeatures())); machinesReadyLock.unlock(); return; }