summaryrefslogtreecommitdiff
path: root/implementation/routing/src/serviceinfo.cpp
diff options
context:
space:
mode:
authorLutz Bichler <Lutz.Bichler@bmw.de>2019-07-22 14:05:36 +0200
committerLutz Bichler <Lutz.Bichler@bmw.de>2019-07-22 14:05:36 +0200
commitee44d19e0a3773adcda3bace073c66e334a3e6a7 (patch)
tree8e7c2aae6afeaa7b3dc4af29d960012a625226ce /implementation/routing/src/serviceinfo.cpp
parent9fb9beecadf52083599302fa8ddee7efbec64a39 (diff)
downloadvSomeIP-ee44d19e0a3773adcda3bace073c66e334a3e6a7.tar.gz
vsomeip 2.14.162.14.16
Diffstat (limited to 'implementation/routing/src/serviceinfo.cpp')
-rw-r--r--implementation/routing/src/serviceinfo.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/implementation/routing/src/serviceinfo.cpp b/implementation/routing/src/serviceinfo.cpp
index 3afc937..42db53b 100644
--- a/implementation/routing/src/serviceinfo.cpp
+++ b/implementation/routing/src/serviceinfo.cpp
@@ -22,6 +22,18 @@ serviceinfo::serviceinfo(major_version_t _major, minor_version_t _minor,
ttl_ = std::chrono::duration_cast<std::chrono::milliseconds>(ttl);
}
+serviceinfo::serviceinfo(const serviceinfo& _other) :
+ group_(_other.group_),
+ major_(_other.major_),
+ minor_(_other.minor_),
+ ttl_(_other.ttl_),
+ reliable_(_other.reliable_),
+ unreliable_(_other.unreliable_),
+ requesters_(_other.requesters_),
+ is_local_(_other.is_local_),
+ is_in_mainphase_(_other.is_in_mainphase_)
+ {}
+
serviceinfo::~serviceinfo() {
}