Move wrapPassthrough into details.
Test: pass
Bug: 36075507
Change-Id: I61e72ffc1e1eab19514dc943c59d41857d91309c
diff --git a/generateCpp.cpp b/generateCpp.cpp
index 13d887e..85a5806 100644
--- a/generateCpp.cpp
+++ b/generateCpp.cpp
@@ -536,7 +536,7 @@
out << wrappedName
<< " = "
<< iface.fqName().cppName()
- << "::castFrom(::android::hardware::wrapPassthrough("
+ << "::castFrom(::android::hardware::details::wrapPassthrough("
<< name << "));\n";
out.sIf(wrappedName + " == nullptr", [&] {
// Fatal error. Happens when the BsFoo class is not found in the binary