]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: expose Formatter::flush to derived classes
authorCasey Bodley <cbodley@redhat.com>
Wed, 9 Sep 2015 20:56:48 +0000 (16:56 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:12:43 +0000 (16:12 -0800)
commit4a2f1681547235923caa4e275a502c097c33dd3d
tree24707c999fc2739c741de5c495d5b6dcc7d59ab8
parent6693737f46ffcf9f2f510b3c87e49dd3895c2173
common: expose Formatter::flush to derived classes

class Formatter declares both a 'virtual void flush(ostream&)' and a
'void flush(bufferlist&)'. however, because its subclasses only override
the former, c++'s function overloading rules cause the latter overload
to be hidden

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/common/Formatter.h