]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
RefCountedObject: fix constructor warning
authorSamuel Just <samuel.just@dreamhost.com>
Thu, 26 Apr 2012 17:38:45 +0000 (10:38 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Thu, 26 Apr 2012 17:38:45 +0000 (10:38 -0700)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/common/RefCountedObj.h

index bb556ddfb110a503d3813047a59bcb66c175c678..0af419425374a82f3229ea60f96c4071294372e1 100644 (file)
@@ -42,9 +42,9 @@ struct RefCountedObject {
  */
 
 struct RefCountedCond : public RefCountedObject {
+  bool complete;
   Mutex lock;
   Cond cond;
-  bool complete;
 
   RefCountedCond() : complete(false), lock("RefCountedCond") {}