Merge "Revert "Use get instead of implicit cast on Return<*>.""
am: 5329acb61f
Change-Id: I86a2469e37c515129e8b679e241800f44ccabc27
This commit is contained in:
commit
e78c2b96e3
1 changed files with 1 additions and 10 deletions
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue