diff options
author | Yifan Hong | 2018-03-13 16:19:13 -0500 |
---|---|---|
committer | Yifan Hong | 2018-03-14 15:44:50 -0500 |
commit | cf231a965d6f0195ff45b8fafdf8b7f8841db20c (patch) | |
tree | aeaf240cc61cddcb65c5c4ef8bd2b0f6065dae52 /ManifestInstance.cpp | |
parent | 470144fa4d01f1d422ee332fd7ce1c9d09014878 (diff) | |
download | platform-system-libvintf-cf231a965d6f0195ff45b8fafdf8b7f8841db20c.tar.gz platform-system-libvintf-cf231a965d6f0195ff45b8fafdf8b7f8841db20c.tar.xz platform-system-libvintf-cf231a965d6f0195ff45b8fafdf8b7f8841db20c.zip |
Manifest/MatrixInstance: remove FqInstance dep
Clients of libvintf doesn't need to include libhidl-gen-utils
unless necessary. This removes linkage to FQName
default / move / copy constructor / assignment operator
implied by the default / move / copy constructor / assignment
operator of ManifestInstance and MatrixInstance.
Bug: 73556059
Test: builds
Change-Id: I890e98a685e89a4134a677e6da76d112cac2abbc
Diffstat (limited to 'ManifestInstance.cpp')
-rw-r--r-- | ManifestInstance.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ManifestInstance.cpp b/ManifestInstance.cpp index 66e0cd3..37662fc 100644 --- a/ManifestInstance.cpp +++ b/ManifestInstance.cpp | |||
@@ -21,6 +21,16 @@ | |||
21 | namespace android { | 21 | namespace android { |
22 | namespace vintf { | 22 | namespace vintf { |
23 | 23 | ||
24 | ManifestInstance::ManifestInstance() = default; | ||
25 | |||
26 | ManifestInstance::ManifestInstance(const ManifestInstance&) = default; | ||
27 | |||
28 | ManifestInstance::ManifestInstance(ManifestInstance&&) = default; | ||
29 | |||
30 | ManifestInstance& ManifestInstance::operator=(const ManifestInstance&) = default; | ||
31 | |||
32 | ManifestInstance& ManifestInstance::operator=(ManifestInstance&&) = default; | ||
33 | |||
24 | ManifestInstance::ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta) | 34 | ManifestInstance::ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta) |
25 | : mFqInstance(std::move(fqInstance)), mTransportArch(std::move(ta)) {} | 35 | : mFqInstance(std::move(fqInstance)), mTransportArch(std::move(ta)) {} |
26 | ManifestInstance::ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta) | 36 | ManifestInstance::ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta) |