From 89720d3c63bbd22cbccc80cdc92c2f2dd20193ba Mon Sep 17 00:00:00 2001 From: Lutz Bichler Date: Tue, 27 Oct 2020 10:02:03 +0100 Subject: capicxx-core-runtime 3.2.0 --- include/CommonAPI/Deployable.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/CommonAPI/Deployable.hpp') diff --git a/include/CommonAPI/Deployable.hpp b/include/CommonAPI/Deployable.hpp index cf269e8..c4f80e7 100644 --- a/include/CommonAPI/Deployable.hpp +++ b/include/CommonAPI/Deployable.hpp @@ -1,10 +1,10 @@ -// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +// Copyright (C) 2014-2020 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/. #if !defined (COMMONAPI_INTERNAL_COMPILATION) -#error "Only can be included directly, this file may disappear or change contents." +#error "Only can be included directly, this file may disappear or change contents." #endif #ifndef COMMONAPI_DEPLOYABLE_HPP_ @@ -28,6 +28,11 @@ struct Deployable : DeployableBase depl_(const_cast(_depl)) { }; + Deployable(const Deployable &_other) + : value_(_other.value_), + depl_(_other.depl_) { + } + Deployable& operator=(const Deployable &_source) { value_ = _source.value_; depl_ = _source.depl_; -- cgit v1.2.1