]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: use nullptr instead of NULL
authorKen Iizawa <iizawa.ken@fujitsu.com>
Fri, 19 Feb 2021 02:32:02 +0000 (11:32 +0900)
committerKen Iizawa <iizawa.ken@fujitsu.com>
Fri, 19 Feb 2021 02:32:02 +0000 (11:32 +0900)
Fixes: https://tracker.ceph.com/issues/48182
Signed-off-by: Ken Iizawa <iizawa.ken@fujitsu.com>
src/osd/objclass.cc

index 74ba8e3bf430a1aa53ac0079f175cd85a106e099..05ae97129a243d1f03f15cc2554974ae63d94b9b 100644 (file)
@@ -736,7 +736,7 @@ int cls_cxx_get_gathered_data(cls_method_context_t hctx, std::map<std::string, b
       op_finisher = op_finisher_it->second.get();
     }
   }
-  if (op_finisher == NULL) {
+  if (op_finisher == nullptr) {
     results->clear();
   } else {
     GatherFinisher *gf = (GatherFinisher*)op_finisher;