mon/PGMonitor: mark dump_object_stat_sum() as static
so we can test this method without create an instance of PGMonitor.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
af3d3e25823ca9b40ddf09835edb82795ac68f33)
Conflicts:
src/mon/PGMonitor.cc ("const" suffix of function definition was removed
in master, but in hammer it wasn't there, so no change necessary)
src/mon/PGMonitor.h (added static prefix to function declaration; did
not remove "const" suffix because it wasn't there in hammer)