]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: missing constructor
authorSage Weil <sage@newdream.net>
Wed, 23 Jul 2008 16:39:29 +0000 (09:39 -0700)
committerSage Weil <sage@newdream.net>
Wed, 23 Jul 2008 16:45:43 +0000 (09:45 -0700)
src/mds/MDSTableClient.h

index bb3c7f549c7cc62ca89dcb27b5e2774241d35331..a824752d2c3a5f11881fb9a5667690471b63120e 100644 (file)
 #ifndef __MDSTABLECLIENT_H
 #define __MDSTABLECLIENT_H
 
-#include <vector>
-using std::vector;
-#include <ext/hash_map>
-using __gnu_cxx::hash_map;
-
 #include "include/types.h"
 #include "include/Context.h"
 #include "mds_table_types.h"
@@ -40,6 +35,8 @@ protected:
     Context *onfinish;
     version_t *ptid;
     bufferlist mutation;
+
+    _pending_prepare() : onfinish(0), ptid(0) {}
   };
 
   hash_map<__u64, _pending_prepare> pending_prepare;