Fix processor parsing static position (#6598)

This commit is contained in:
Wilson Snyder 2025-10-27 20:44:55 -04:00
parent f9adc3461d
commit 9513edfdd6
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ std::string VlThreadPool::numaAssign() {
while (!is.eof()) {
std::string line;
std::getline(is, line);
static std::string::size_type pos = line.find(":");
std::string::size_type pos = line.find(":");
int number = -1;
if (pos != std::string::npos) number = atoi(line.c_str() + pos + 1);
if (line.compare(0, std::strlen("processor"), "processor") == 0) {