aboutsummaryrefslogtreecommitdiffstats
path: root/src/low-can-binding.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-10 16:08:06 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:41 +0100
commit065a5bdef8c37f8b0466f63e48443dab31e86431 (patch)
tree47b554a3fe13ed99fcd87f298e01b2607f0f6601 /src/low-can-binding.cpp
parent093d7a35c23c65ffef888ded40aea9e77f0e4975 (diff)
We doesn't modify member once getted, we can use const return
and const method. Change-Id: I0f7465af74b1c9a546af45a0d1eea33c93537e0c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/low-can-binding.cpp')
-rw-r--r--src/low-can-binding.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp
index 8411b65d..a2b54567 100644
--- a/src/low-can-binding.cpp
+++ b/src/low-can-binding.cpp
@@ -123,6 +123,7 @@ static int subscribe_unsubscribe_signals(struct afb_req request, bool subscribe,
for(auto& sig : signals)
{
+ //if (sig.find_first_of())
int ret = subscribe_unsubscribe_signal(request, subscribe, sig);
if(ret <= 0)
return ret;