summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-07 09:30:50 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:09:03 +0100
commitabdd2abd39eaa1543fa90125cc6261a8626c2cc9 (patch)
treeb9f23c204299b8ee22eaa04772ee4121c7774d72 /src/utils
parent89e072c41f3417e0a80cf95be3cf88326df32777 (diff)
Fix: wrong function signature and get out from class
temporarly to get compiled project. Change-Id: I7235f503c42a3e31d09094c42882b74e5e809493 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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)
{