aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/signals.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-09 02:28:27 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:40 +0100
commitfe5a4857985fd00b961c63274e678c8df19feaee (patch)
treea965b6d4ff9d0a68912c63af4c5442e5197d152d /src/utils/signals.hpp
parent623536b4a10a96a8e71389b741774e645e652e9b (diff)
Fix: used new created classes.
Change-Id: Ib0188ac952f64b3bc2203c0310a21de380c75854 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/utils/signals.hpp')
-rw-r--r--src/utils/signals.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/signals.hpp b/src/utils/signals.hpp
index ed9de83f..6665bb70 100644
--- a/src/utils/signals.hpp
+++ b/src/utils/signals.hpp
@@ -44,7 +44,7 @@ void lookup_signals_by_name(const std::string& key, std::vector<T>& signals, std
{
for(T& s : signals)
{
- if(::fnmatch(key.c_str(), s.generic_name, FNM_CASEFOLD) == 0)
+ if(::fnmatch(key.c_str(), s.get_generic_name().c_str(), FNM_CASEFOLD) == 0)
found_signals.push_back(&s);
}
}
@@ -55,7 +55,7 @@ void lookup_signals_by_name(const std::string& key, std::vector<T>& signals, std
for(const T& s : signals)
{
if(::fnmatch(key.c_str(), s.generic_name, FNM_CASEFOLD) == 0)
- found_signals_name.push_back(s.generic_name);
+ found_signals_name.push_back(s.get_generic_name());
}
}