We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00ab6c7 + 39af0bc commit 0473c8fCopy full SHA for 0473c8f
src/common/ceph_context.h
@@ -149,6 +149,10 @@ class CephContext {
149
ceph::logging::Log *_log;
150
#ifdef HAVE_BREAKPAD
151
std::unique_ptr<google_breakpad::ExceptionHandler> _ex_handler;
152
+ static_assert(sizeof(std::unique_ptr<google_breakpad::ExceptionHandler>) == sizeof(std::unique_ptr<char>));
153
+#else
154
+ // Reserve the space for the case when part of ceph is compiled with and other without HAVE_BREAKPAD
155
+ [[maybe_unused]] std::unique_ptr<char> _ex_handler;
156
#endif
157
158
/* init ceph::crypto */
0 commit comments