]> source.dussan.org Git - tigervnc.git/commit
rfb: Fix hidden function overload warnings
authorSteve Kondik <shade@chemlab.org>
Sat, 8 Jul 2017 08:45:10 +0000 (01:45 -0700)
committerSteve Kondik <shade@chemlab.org>
Sat, 8 Jul 2017 09:28:12 +0000 (02:28 -0700)
commit3f744f77f85b96de92fed53a60dc96d7d3f22eb0
tree749ef9a1941977f096379a727b11d44d27403bdb
parent31e75ce2288fb387705e7da9d5ef21d2b17baa64
rfb: Fix hidden function overload warnings

Fix the following warnings emitted by Clang:

/home/shade/dev/tigervnc/common/rfb/Configuration.h:164:18: note: hidden overloaded virtual function 'rfb::VoidParameter::setParam' declared here: different number of parameters (0 vs 1)
    virtual bool setParam();
                 ^
/home/shade/dev/tigervnc/common/rfb/Configuration.h:256:18: error: 'rfb::BinaryParameter::setParam' hides overloaded virtual function [-Werror,-Woverloaded-virtual]
    virtual void setParam(const void* v, int l);
                 ^
/home/shade/dev/tigervnc/common/rfb/Configuration.h:164:18: note: hidden overloaded virtual function 'rfb::VoidParameter::setParam' declared here: different number of parameters (0 vs 2)
    virtual bool setParam();
common/rfb/Configuration.h