diff mbox

librados.hpp fix

Message ID AANLkTi=wtavHtw04KwZRfK2LrWahS6TdmN2nh_phcRJn@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Takuya ASADA Aug. 3, 2010, 12:21 p.m. UTC
None
diff mbox

Patch

diff --git a/src/include/librados.hpp b/src/include/librados.hpp
index b0d3622..06fa3b2 100644
--- a/src/include/librados.hpp
+++ b/src/include/librados.hpp
@@ -38,7 +38,7 @@  namespace librados {

   struct SnapContext {
     snap_t seq;
-    vector<snap_t> snaps;
+    std::vector<snap_t> snaps;
   };


@@ -57,7 +57,7 @@  public:
   int lookup_pool(const char *name);

   void set_snap(pool_t pool, snap_t seq);
-  int set_snap_context(pool_t pool, snap_t seq, vector<snap_t>& snaps);
+  int set_snap_context(pool_t pool, snap_t seq, std::vector<snap_t>& snaps);


   int create(pool_t pool, const std::string& oid, bool exclusive);