From patchwork Tue Aug 3 12:21:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takuya ASADA X-Patchwork-Id: 116739 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o73CLW6w014415 for ; Tue, 3 Aug 2010 12:21:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756127Ab0HCMVc (ORCPT ); Tue, 3 Aug 2010 08:21:32 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:33223 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756010Ab0HCMVb (ORCPT ); Tue, 3 Aug 2010 08:21:31 -0400 Received: by wyb39 with SMTP id 39so4308942wyb.19 for ; Tue, 03 Aug 2010 05:21:30 -0700 (PDT) Received: by 10.227.132.67 with SMTP id a3mr6304963wbt.198.1280838090185; Tue, 03 Aug 2010 05:21:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.128.141 with HTTP; Tue, 3 Aug 2010 05:21:10 -0700 (PDT) From: Takuya ASADA Date: Tue, 3 Aug 2010 21:21:10 +0900 Message-ID: Subject: librados.hpp fix To: ceph-devel@vger.kernel.org Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 03 Aug 2010 12:21:33 +0000 (UTC) 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 snaps; + std::vector 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& snaps); + int set_snap_context(pool_t pool, snap_t seq, std::vector& snaps); int create(pool_t pool, const std::string& oid, bool exclusive);