]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librgw: bucket names can be const
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 26 Oct 2015 22:13:46 +0000 (18:13 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:05:09 +0000 (12:05 -0500)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.h

index 54d535053e96b9b4aa83c956564319198c172946..3ff503f7626b4bfdc7c5d1944b624199e28fe1e5 100644 (file)
@@ -23,7 +23,7 @@ class RGWFileHandle
   struct rgw_file_handle fh;
   mutable std::atomic<uint64_t> refcnt;
   RGWFHRef parent;
-  string name; /* XXX file or bucket name */
+  const string name; /* XXX file or bucket name */
   uint32_t flags;
 
 public: