]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd: make get_temp_image_name() static
authorIlya Dryomov <idryomov@gmail.com>
Fri, 15 Feb 2019 13:04:16 +0000 (14:04 +0100)
committerJason Dillaman <dillaman@redhat.com>
Wed, 15 May 2019 20:33:48 +0000 (16:33 -0400)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 032cccea60b2e3be8f740681e28ce1deced431a4)

src/test/librbd/test_librbd.cc

index c6f1dcde529c24f3308e26d6a170e082ab07d8b2..c4700a5b1fb13b706bb2fdeaf80c4e896120a6e2 100644 (file)
@@ -223,7 +223,7 @@ public:
     *passed = ((flags & RBD_FLAG_OBJECT_MAP_INVALID) == 0);
   }
 
-  std::string get_temp_image_name() {
+  static std::string get_temp_image_name() {
     ++_image_number;
     return "image" + stringify(_image_number);
   }