summaryrefslogtreecommitdiff
path: root/implementation/e2e_protection/src/e2e/profile/profile_custom/protector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/e2e_protection/src/e2e/profile/profile_custom/protector.cpp')
-rw-r--r--implementation/e2e_protection/src/e2e/profile/profile_custom/protector.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/implementation/e2e_protection/src/e2e/profile/profile_custom/protector.cpp b/implementation/e2e_protection/src/e2e/profile/profile_custom/protector.cpp
index 276c02b..c71f91f 100644
--- a/implementation/e2e_protection/src/e2e/profile/profile_custom/protector.cpp
+++ b/implementation/e2e_protection/src/e2e/profile/profile_custom/protector.cpp
@@ -16,7 +16,10 @@ namespace vsomeip_v3 {
namespace e2e {
namespace profile_custom {
-void protector::protect(e2e_buffer &_buffer) {
+void protector::protect(e2e_buffer &_buffer, instance_t _instance) {
+
+ (void)_instance;
+
std::lock_guard<std::mutex> lock(protect_mutex_);
if (profile_custom::is_buffer_length_valid(config_, _buffer)) {