]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/Formatter.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / common / Formatter.h
index e57ede878d9e5279943b0635203739a1870d5157..6751e4709ce0bf12455c05c97cd8bd5a8eee73b1 100644 (file)
@@ -171,6 +171,8 @@ namespace ceph {
       return false; /* is handling done? */
     }
 
+    int stack_size() { return m_stack.size(); }
+
   private:
 
     struct json_formatter_stack_entry_d {
@@ -309,3 +311,4 @@ namespace ceph {
   std::string fixed_u_to_string(uint64_t num, int scale);
 }
 #endif
+