diff options
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/proton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/proton.cpp b/searchcore/src/vespa/searchcore/proton/server/proton.cpp index 4ba8eb130a4..2f952f0957c 100644 --- a/searchcore/src/vespa/searchcore/proton/server/proton.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/proton.cpp @@ -456,7 +456,7 @@ Proton::~Proton() if (pcsp) { const std::shared_ptr<proton::BootstrapConfig> bcp = pcsp->getBootstrapConfig(); if (bcp) { - numCores = std::max(bcp->getHwInfo().cpu().cores(), 1); + numCores = std::max(bcp->getHwInfo().cpu().cores(), 1u); } } |