aboutsummaryrefslogtreecommitdiff
path: root/VectorType.cpp
diff options
context:
space:
mode:
authorNirav Atre <natre@google.com>2018-07-09 23:11:33 +0000
committerNirav Atre <natre@google.com>2018-07-09 23:12:59 +0000
commit465a70c7c37e72c95e85a715fb0dcf6d25618560 (patch)
treee69b93d71521b15bf39a9f67bef94a746aff59f8 /VectorType.cpp
parent3b4c7ffea8362bae9cd9cd44eeea61a799d2e3e4 (diff)
downloadhidl-465a70c7c37e72c95e85a715fb0dcf6d25618560.tar.gz
Revert "Explicit destructor invocation for HIDL types"android-o-mr1-iot-release-1.0.2
This reverts commit 89463bd50359c28429fd5e6a8825e2a229f889c9. Reason for revert: Replaced with a single template function for destructing types. Change-Id: Ia2d2d18411ef3199b6c7c942b7dce1ec63ff42d5
Diffstat (limited to 'VectorType.cpp')
-rw-r--r--VectorType.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/VectorType.cpp b/VectorType.cpp
index 031a0ee6..03604dca 100644
--- a/VectorType.cpp
+++ b/VectorType.cpp
@@ -574,10 +574,6 @@ void VectorType::emitJavaFieldReaderWriter(
isReader);
}
-void VectorType::emitTypeDestructorCall(Formatter& out, const std::string& objName) const {
- out << objName << ".~hidl_vec();\n";
-}
-
void VectorType::EmitJavaFieldReaderWriterForElementType(
Formatter &out,
size_t depth,