Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff3942cb authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar
Browse files

Fix build with memory-mapped coverage (patch 2)

Bug: http://b/194128476

Mark two functions as pure virtual.  This was detected when adding
-mllvm -runtime-counter-relocation for memory-mapped coverage
(aosp/1729633).

Test: Build with memory-mapped coverage
Change-Id: I4ecb8ee6f889d9d167e861f034a900a486f47b5e
parent 6100fd64
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ public:
     * Returns false if the session doesn't exist, or the client is already requesting the
     * session. Returns true otherwise.
     */
    virtual bool addClientUid(ClientIdType clientId, SessionIdType sessionId, uid_t clientUid);
    virtual bool addClientUid(ClientIdType clientId, SessionIdType sessionId, uid_t clientUid) = 0;

    /**
     * Retrieves the (unsorted) list of all clients requesting the session identified by
@@ -81,7 +81,7 @@ public:
     * Returns false if the session doesn't exist. Returns true otherwise.
     */
    virtual bool getClientUids(ClientIdType clientId, SessionIdType sessionId,
                               std::vector<int32_t>* out_clientUids);
                               std::vector<int32_t>* out_clientUids) = 0;

protected:
    virtual ~ControllerClientInterface() = default;