]> granicus.if.org Git - pdns/commit
dnsdist: Use qualified calls to virtual functions in the ctor
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 24 Oct 2019 08:34:20 +0000 (10:34 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 24 Oct 2019 08:41:11 +0000 (10:41 +0200)
commit8dfec397200bbe92c831b37b2fb7e6c874cbfbf8
tree4321847e07656df2ab35d58b5731bd96107cdc3f
parent1fab05c776bea61d81abddda8bc10a33e0cd621b
dnsdist: Use qualified calls to virtual functions in the ctor

Otherwise cppcheck warns that virtual functions should not be called
from the constructor because dynamic binding is not used, and objects
may not have been fully constructed yet. In that case that's fine
because there is no derived classes, but let's make it explicit.
pdns/dnsdistdist/tcpiohandler.cc