We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eebf700 commit 373ee99Copy full SHA for 373ee99
include/dtlmod/DTL.hpp
@@ -58,7 +58,7 @@ class DTL {
58
59
/// @brief Retrieve all streams declared in the Data Transport by its name.
60
/// @return a map of handlers on Stream objects with their names as keys.
61
- std::unordered_map<std::string, std::shared_ptr<Stream>> get_all_streams() const { return streams_; }
+ const std::unordered_map<std::string, std::shared_ptr<Stream>>& get_all_streams() const { return streams_; }
62
63
/// @brief Retrieve a data stream from the Data Transport Layer by its name.
64
/// @param name The name of the Stream to retrieve.
0 commit comments