aboutsummaryrefslogtreecommitdiff
path: root/en/devices/architecture/hidl-cpp/interfaces.html
diff options
context:
space:
mode:
Diffstat (limited to 'en/devices/architecture/hidl-cpp/interfaces.html')
-rw-r--r--en/devices/architecture/hidl-cpp/interfaces.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/en/devices/architecture/hidl-cpp/interfaces.html b/en/devices/architecture/hidl-cpp/interfaces.html
index 285c22b5..c236a171 100644
--- a/en/devices/architecture/hidl-cpp/interfaces.html
+++ b/en/devices/architecture/hidl-cpp/interfaces.html
@@ -248,7 +248,7 @@ from a thread in the RPC threadpool when the process hosting the interface dies:
</p>
<pre class="prettyprint">
-class MyDeathRecipient : android::hardware::hidl_death_recipient {
+class MyDeathRecipient : public android::hardware::hidl_death_recipient {
virtual void serviceDied(uint64_t cookie, const android::wp&lt;::android::hidl::base::V1_0::IBase&gt;&amp; who) {
// Deal with the fact that the service died
}