mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Expect the semicolon at the end of SAPI_ASSERT_OK_AND_ASSIGN
This commit is contained in:
parent
ee11d9fdb7
commit
aae8ba47ee
@ -30,7 +30,8 @@
|
||||
#define SAPI_ASSERT_OK_AND_ASSIGN_IMPL(statusor, lhs, rexpr) \
|
||||
auto statusor = (rexpr); \
|
||||
ASSERT_THAT(statusor.status(), ::sapi::IsOk()); \
|
||||
lhs = std::move(statusor).value();
|
||||
lhs = std::move(statusor).value(); \
|
||||
do {} while(0)
|
||||
|
||||
namespace sapi {
|
||||
namespace internal {
|
||||
|
Loading…
x
Reference in New Issue
Block a user