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

Commit fafbbd70 authored by Steven Moreland's avatar Steven Moreland
Browse files

Revert "Use get instead of implicit cast on Return<*>."

This reverts commit dc5f84f9.

Change-Id: Ib81f732d1e0b822a5f53cbc7ed8a13e146ad8b7a
parent 13be232d
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -112,16 +112,7 @@ Return<void> Foo::callMe(
                  << DELAY_S
                  << " seconds";
        c[1] = systemTime();
        Return<bool> ret = cb->heyItsYouIsntIt(cb);
        if (!ret.isOk()) {
            LOG(ERROR) << "SERVER(Foo) callMe "
                      << cb.get()
                      << " encountered transport error ("
                      << ret.getStatus().exceptionCode()
                      << ").";
            return Void();
        }
        bool answer = ret.get();
        bool answer = cb->heyItsYouIsntIt(cb);
        c[1] = systemTime() - c[1];

        LOG(INFO) << "SERVER(Foo) callMe "