summaryrefslogtreecommitdiff
path: root/src/CommonAPI/DBus/DBusAddress.cpp
diff options
context:
space:
mode:
authorLutz Bichler <Lutz.Bichler@bmw.de>2020-10-27 10:00:57 +0100
committerLutz Bichler <Lutz.Bichler@bmw.de>2020-10-27 10:00:57 +0100
commitd1610ad0d6f1b6751964af41a0cc1599e2d7a955 (patch)
tree2144ae231a4ca372f497605d5b4779d2e11c2888 /src/CommonAPI/DBus/DBusAddress.cpp
parent9f85f0f18d9ca436fb618769149ee02e78fd283b (diff)
downloadgenivi-common-api-dbus-runtime-master.tar.gz
capicxx-dbus-runtime 3.2.0HEAD3.2.0master
Diffstat (limited to 'src/CommonAPI/DBus/DBusAddress.cpp')
-rw-r--r--src/CommonAPI/DBus/DBusAddress.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/CommonAPI/DBus/DBusAddress.cpp b/src/CommonAPI/DBus/DBusAddress.cpp
index 4819a40..bae8190 100644
--- a/src/CommonAPI/DBus/DBusAddress.cpp
+++ b/src/CommonAPI/DBus/DBusAddress.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/.
@@ -27,6 +27,15 @@ DBusAddress::DBusAddress(const DBusAddress &_source)
DBusAddress::~DBusAddress() {
}
+DBusAddress &
+DBusAddress::operator=(const DBusAddress &_other) {
+ service_ = _other.service_;
+ objectPath_ = _other.objectPath_;
+ interface_ = _other.interface_;
+
+ return (*this);
+}
+
bool
DBusAddress::operator==(const DBusAddress &_other) const {
return (service_ == _other.service_ &&
@@ -97,6 +106,5 @@ operator<<(std::ostream &_out, const DBusAddress &_dbusAddress) {
return _out;
}
-
} // namespace DBus
} // namespace CommonAPI