mirror of
https://github.com/ceph/ceph
synced 2025-03-30 15:31:01 +00:00
include/ceph_assert: qualify __assert_warn call in assert_warn macro
A macro never knows where it will be expanded. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
This commit is contained in:
parent
297223e22f
commit
83ee7598c6
@ -70,7 +70,7 @@ extern void __ceph_assert_warn(const char *assertion, const char *file, int line
|
||||
#define assert_warn(expr) \
|
||||
((expr) \
|
||||
? _CEPH_ASSERT_VOID_CAST (0) \
|
||||
: __ceph_assert_warn (__STRING(expr), __FILE__, __LINE__, __CEPH_ASSERT_FUNCTION))
|
||||
: ::ceph::__ceph_assert_warn (__STRING(expr), __FILE__, __LINE__, __CEPH_ASSERT_FUNCTION))
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user