mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
fix(sdk): Avoid narrowing conversion
This commit is contained in:
committed by
Dennis Klein
parent
3702d3bfca
commit
81b1ba1f20
@@ -59,7 +59,7 @@ auto DDSTopology::GetTopoFile() const -> Path
|
||||
return file;
|
||||
}
|
||||
|
||||
auto DDSTopology::GetNumRequiredAgents() const -> int
|
||||
auto DDSTopology::GetNumRequiredAgents() const -> std::size_t
|
||||
{
|
||||
return fImpl->fTopo.getRequiredNofAgents();
|
||||
}
|
||||
|
@@ -50,7 +50,7 @@ class DDSTopology
|
||||
auto GetTopoFile() const -> Path;
|
||||
|
||||
/// @brief Get number of required agents for this topology
|
||||
auto GetNumRequiredAgents() const -> int;
|
||||
auto GetNumRequiredAgents() const -> std::size_t;
|
||||
|
||||
/// @brief Get list of tasks in this topology, optionally matching provided path
|
||||
auto GetTasks(const std::string& = "") const -> std::vector<DDSTask>;
|
||||
|
Reference in New Issue
Block a user