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

Commit c73e3788 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Use optional for nullable types am: dbae5190 am: 3e0f54ac

Change-Id: I9f8bb10d6d6fb05b9ab31b25f92e706cdcc8e046
parents 2069f54c 3e0f54ac
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -159,8 +159,8 @@ public:

#define GK_ERROR *gkResponse = GKResponse::error(), Status::ok()

    Status enroll(int32_t uid, const std::unique_ptr<std::vector<uint8_t>>& currentPasswordHandle,
                  const std::unique_ptr<std::vector<uint8_t>>& currentPassword,
    Status enroll(int32_t uid, const std::optional<std::vector<uint8_t>>& currentPasswordHandle,
                  const std::optional<std::vector<uint8_t>>& currentPassword,
                  const std::vector<uint8_t>& desiredPassword, GKResponse* gkResponse) override {
        IPCThreadState* ipc = IPCThreadState::self();
        const int calling_pid = ipc->getCallingPid();