summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/signals.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/signals.hpp b/src/utils/signals.hpp
index bc421e9..8e15bd2 100644
--- a/src/utils/signals.hpp
+++ b/src/utils/signals.hpp
@@ -60,7 +60,7 @@ void lookup_signals_by_id(const double key, std::vector<T>& signals, std::vector
template <typename T>
void lookup_signals_by_id(const double key, std::vector<T>& signals, std::vector<std::string>& found_signals_name)
{
- for(T& s : signals)
+ for(const T& s : signals)
{
if(get_signal_id(s) == key)
{