summaryrefslogtreecommitdiff
path: root/implementation/routing/include/function_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/routing/include/function_types.hpp')
-rw-r--r--implementation/routing/include/function_types.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/implementation/routing/include/function_types.hpp b/implementation/routing/include/function_types.hpp
index 3f89c08..f74ff37 100644
--- a/implementation/routing/include/function_types.hpp
+++ b/implementation/routing/include/function_types.hpp
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+// Copyright (C) 2018-2021 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -10,9 +10,8 @@ namespace vsomeip_v3 {
class remote_subscription;
-typedef std::function<
- void (const std::shared_ptr<remote_subscription> &_subscription)
-> remote_subscription_callback_t;
+using remote_subscription_callback_t =
+ std::function<void (const std::shared_ptr<remote_subscription> &_subscription)>;
} // namespace vsomeip_v3