virtual dtors == good

This commit is contained in:
Aaron
2009-02-18 13:42:32 -05:00
parent 7412a333fc
commit 593bf1f126
24 changed files with 46 additions and 5 deletions

View File

@@ -232,6 +232,8 @@ namespace PairingTests {
} // namespace ReplPairTests
class DirectConnectBase : public Base {
public:
virtual ~DirectConnectBase() {}
protected:
void negotiate( ReplPair &a, ReplPair &b ) {
auto_ptr< DBClientConnection > c( new DirectDBClientConnection( &b, cc() ) );