OMNI_RETURN_IF_FAILED

Defined in omni/core/Result.h

OMNI_RETURN_IF_FAILED(x_)

If the given omni::core::Result is a failure code, calls return result to exit the current function.