Out of line ProgOption::SetProperty for int and std::string

The specializations are common enough to show up in O2 compilation profiles
and they are not time critical (once per run at max).
This commit is contained in:
Giulio Eulisse
2025-01-06 23:11:32 +01:00
committed by Dennis Klein
parent 8fe95e644e
commit 41165cf16b
2 changed files with 19 additions and 11 deletions

View File

@@ -448,3 +448,6 @@ void ProgOptions::PrintOptionsRaw() const
}
} // namespace fair::mq
template void fair::mq::ProgOptions::SetProperty<std::string>(const std::string& key, std::string val);
template void fair::mq::ProgOptions::SetProperty<int>(const std::string& key, int val);