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