Closed dkorolev closed 9 years ago
Source: Apparently, doing a top-level api.Get(*my_unique_ptr.get()) doesn't compile, since it tries to std::move a const reference.
api.Get(*my_unique_ptr.get())
std::move
Fixed it, then reproduced it on a simpler example, confirmed the example works, and pushing the fix.
Thanks, Dima
And one more commit into this PR: Make sure time is not mocked by default.
Merging, but this part is worth another revisit.
Source: Apparently, doing a top-level
api.Get(*my_unique_ptr.get())
doesn't compile, since it tries tostd::move
a const reference.Fixed it, then reproduced it on a simpler example, confirmed the example works, and pushing the fix.
Thanks, Dima