]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
messages: MOSDPGCreate2 doesn't assume using namespace std. 28342/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 31 May 2019 08:26:03 +0000 (10:26 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 31 May 2019 08:49:01 +0000 (10:49 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/messages/MOSDPGCreate2.h

index a1413727c969b9e684e13cb748758d08b83e22c0..58dffdf102835775f703aa670364ec883ec438c2 100644 (file)
@@ -16,8 +16,8 @@ public:
   static constexpr int COMPAT_VERSION = 1;
 
   epoch_t epoch = 0;
-  map<spg_t,pair<epoch_t,utime_t>> pgs;
-  map<spg_t,pair<pg_history_t,PastIntervals>> pg_extra;
+  std::map<spg_t,std::pair<epoch_t,utime_t>> pgs;
+  std::map<spg_t,std::pair<pg_history_t,PastIntervals>> pg_extra;
 
   MOSDPGCreate2()
     : Message{MSG_OSD_PG_CREATE2, HEAD_VERSION, COMPAT_VERSION} {}