]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv: silence the gcc warning of func foo was hidden 13458/head
authorKefu Chai <kchai@redhat.com>
Thu, 16 Feb 2017 12:04:59 +0000 (20:04 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 17 Feb 2017 10:19:08 +0000 (18:19 +0800)
commit7251ea56f6b954bfa5d08f7818d60a6788ddbde3
treead2e98466e6c219aeea9de60195b74b3c26c430a
parentcdb3ecb57ecd6decda973ca47007ed96f7a5b7cd
kv: silence the gcc warning of func foo was hidden

this silences the warnings like

ceph/ceph/src/kv/KeyValueDB.h:59:18: warning: ‘virtual void
KeyValueDB::TransactionImpl::set(const string&, const char*, size_t,
const bufferlist&)’ was hidden [-Woverloaded-\
virtual]
     virtual void set(
                  ^~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/kv/LevelDBStore.h
src/kv/MemDB.h