diff options
author | Adam C. Emerson <aemerson@redhat.com> | 2020-04-03 01:29:45 +0200 |
---|---|---|
committer | Adam C. Emerson <aemerson@redhat.com> | 2020-04-06 17:15:06 +0200 |
commit | 83ee7598c664ed864964feaf2119080163983b04 (patch) | |
tree | 086f759cf6b046960e34e3e10691fc3a47edccd5 /src/include | |
parent | perfglue: Build ceph-osd without using namespace declarations in headers (diff) | |
download | ceph-83ee7598c664ed864964feaf2119080163983b04.tar.xz ceph-83ee7598c664ed864964feaf2119080163983b04.zip |
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>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ceph_assert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ceph_assert.h b/src/include/ceph_assert.h index 3d63ee3c162..c0df90ce145 100644 --- a/src/include/ceph_assert.h +++ b/src/include/ceph_assert.h @@ -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)) } |