From a80ff1fe43615d505b59bc809bcf8d167b6ce1aa Mon Sep 17 00:00:00 2001 From: Michal Jarzabek Date: Mon, 7 Dec 2015 22:36:16 +0000 Subject: [PATCH] common/ceph_context.cc:fix order of initialisers Fix order of member initialisers causing [-Wreorder] warning. Signed-off-by: Michal Jarzabek --- src/common/ceph_context.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/ceph_context.cc b/src/common/ceph_context.cc index b3f0c7ea47ea..4ead871e9b41 100644 --- a/src/common/ceph_context.cc +++ b/src/common/ceph_context.cc @@ -414,9 +414,9 @@ CephContext::CephContext(uint32_t module_type_, int init_flags_) _heartbeat_map(NULL), _crypto_none(NULL), _crypto_aes(NULL), + _plugin_registry(NULL), _lockdep_obs(NULL), - _cct_perf(NULL), - _plugin_registry(NULL) + _cct_perf(NULL) { ceph_spin_init(&_service_thread_lock); ceph_spin_init(&_associated_objs_lock); -- 2.47.3