]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
log/SubsystemMap: return a size_t from get_num
authorJohn Spray <john.spray@redhat.com>
Fri, 7 Jul 2017 14:08:57 +0000 (10:08 -0400)
committerJohn Spray <john.spray@redhat.com>
Fri, 21 Jul 2017 10:27:25 +0000 (06:27 -0400)
Signed-off-by: John Spray <john.spray@redhat.com>
src/log/SubsystemMap.h

index 9700adc62ece352ca4a2dfb71cedd81e8d0f7921..789cff7ade4f5538b5d875ea02f030f0bbe866cf 100644 (file)
@@ -28,7 +28,7 @@ class SubsystemMap {
 public:
   SubsystemMap() : m_max_name_len(0) {}
 
-  int get_num() const {
+  size_t get_num() const {
     return m_subsys.size();
   }