diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-07-17 10:59:10 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-07-21 12:02:11 +0200 |
commit | e2af4a871c6a8bcab4733193948833aed9c5ceb8 (patch) | |
tree | 2589bafe5de543fbc0dbccc3e13db8daa4acfabf /low-can-binding/binding | |
parent | 61adb20886a9cc611a8b48a86998cfeaad31d7b7 (diff) |
Format
Change-Id: I036befbfb38b01d046d35a1364c28e0835dcbd41
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/binding')
-rw-r--r-- | low-can-binding/binding/application.hpp | 4 | ||||
-rw-r--r-- | low-can-binding/binding/low-can-cb.cpp | 2 | ||||
-rw-r--r-- | low-can-binding/binding/low-can-hat.hpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/low-can-binding/binding/application.hpp b/low-can-binding/binding/application.hpp index fea61a83..e2728060 100644 --- a/low-can-binding/binding/application.hpp +++ b/low-can-binding/binding/application.hpp @@ -33,8 +33,8 @@ /// @brief Class representing a configuration attached to the binding. /// /// It regroups all needed objects instance from other class -/// that will be used along the binding life. It gets a global vision -/// on which signals are implemented for that binding. +/// that will be used along the binding life. It gets a global vision +/// on which signals are implemented for that binding. /// Here, it is only the definition of the class with predefined accessors /// methods used in the binding. /// diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp index be2985fb..a190b2a5 100644 --- a/low-can-binding/binding/low-can-cb.cpp +++ b/low-can-binding/binding/low-can-cb.cpp @@ -182,7 +182,7 @@ static int subscribe_unsubscribe_diagnostic_messages(struct afb_req request, boo auto it = std::find_if(s.begin(), s.end(), [&sig](std::pair<int, std::shared_ptr<low_can_subscription_t> > sub){ return (! sub.second->get_diagnostic_message().empty());}); can_subscription = it != s.end() ? - it->second : + it->second : std::make_shared<low_can_subscription_t>(low_can_subscription_t(event_filter)); // If the requested diagnostic message isn't supported by the car then unsubcribe it // no matter what we want, worse case will be a fail unsubscription but at least we don't diff --git a/low-can-binding/binding/low-can-hat.hpp b/low-can-binding/binding/low-can-hat.hpp index eafb9c69..162a8e59 100644 --- a/low-can-binding/binding/low-can-hat.hpp +++ b/low-can-binding/binding/low-can-hat.hpp @@ -15,7 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #pragma once #include <cstddef> |