From: Samuel Just Date: Thu, 26 Apr 2012 17:38:45 +0000 (-0700) Subject: RefCountedObject: fix constructor warning X-Git-Tag: v0.47~101 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=be9b38ec9cdbf1d7fb9a456f981bcbbece20a9be;p=ceph.git RefCountedObject: fix constructor warning Signed-off-by: Samuel Just --- diff --git a/src/common/RefCountedObj.h b/src/common/RefCountedObj.h index bb556ddfb110..0af419425374 100644 --- a/src/common/RefCountedObj.h +++ b/src/common/RefCountedObj.h @@ -42,9 +42,9 @@ struct RefCountedObject { */ struct RefCountedCond : public RefCountedObject { + bool complete; Mutex lock; Cond cond; - bool complete; RefCountedCond() : complete(false), lock("RefCountedCond") {}