summaryrefslogtreecommitdiff
path: root/implementation/message/include/serializer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/message/include/serializer.hpp')
-rw-r--r--implementation/message/include/serializer.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/implementation/message/include/serializer.hpp b/implementation/message/include/serializer.hpp
index ff99679..bd626ab 100644
--- a/implementation/message/include/serializer.hpp
+++ b/implementation/message/include/serializer.hpp
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+// Copyright (C) 2014-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/.
@@ -40,9 +40,16 @@ public:
virtual void show();
#endif
private:
+#ifdef _WIN32
+#pragma warning(push)
+#pragma warning(disable : 4251)
+#endif
std::vector<byte_t> data_;
std::uint32_t shrink_count_;
std::uint32_t buffer_shrink_threshold_;
+#ifdef _WIN32
+#pragma warning(pop)
+#endif
};
} // namespace vsomeip_v3