diff options
author | Lutz Bichler <Lutz.Bichler@bmw.de> | 2020-10-27 10:02:03 +0100 |
---|---|---|
committer | Lutz Bichler <Lutz.Bichler@bmw.de> | 2020-10-27 10:02:03 +0100 |
commit | 89720d3c63bbd22cbccc80cdc92c2f2dd20193ba (patch) | |
tree | 591c45dba85c98fdd8e141827bdb6e82aaad4f59 /src/CommonAPI/Address.cpp | |
parent | 99ebf3461f51e4899f06457d6aafdaa4adecd278 (diff) | |
download | genivi-common-api-runtime-master.tar.gz |
Diffstat (limited to 'src/CommonAPI/Address.cpp')
-rw-r--r-- | src/CommonAPI/Address.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/CommonAPI/Address.cpp b/src/CommonAPI/Address.cpp index a80b2cf..db9418c 100644 --- a/src/CommonAPI/Address.cpp +++ b/src/CommonAPI/Address.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +// Copyright (C) 2015-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/. @@ -12,7 +12,6 @@ namespace CommonAPI { Address::Address() { - } Address::Address(const std::string &_address) { @@ -32,7 +31,13 @@ Address::Address(const Address &_source) instance_(_source.instance_) { } -Address::~Address() { +Address & +Address::operator=(const Address &_other) { + domain_ = _other.domain_; + interface_ = _other.interface_; + instance_ = _other.instance_; + + return (*this); } bool |