summaryrefslogtreecommitdiff
path: root/ACE/tests/DLL_Test_Parent.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-07-01 08:24:43 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-07-01 08:24:43 +0200
commitc2990a3bc0a9d809bd84a6d5f1d97f6f381143b9 (patch)
tree0c2b70266106e54e3cc8712450d054ed65537b59 /ACE/tests/DLL_Test_Parent.h
parent48f51b52ee8e8cc1ff6608f1539a7985c65e5acc (diff)
downloadATCD-c2990a3bc0a9d809bd84a6d5f1d97f6f381143b9.tar.gz
Extend exception tests
* ACE/tests/DLL_Test_Impl.cpp: * ACE/tests/DLL_Test_Parent.cpp: * ACE/tests/DLL_Test_Parent.h:
Diffstat (limited to 'ACE/tests/DLL_Test_Parent.h')
-rw-r--r--ACE/tests/DLL_Test_Parent.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ACE/tests/DLL_Test_Parent.h b/ACE/tests/DLL_Test_Parent.h
index 2149ef0fbec..c9c36b95b7f 100644
--- a/ACE/tests/DLL_Test_Parent.h
+++ b/ACE/tests/DLL_Test_Parent.h
@@ -44,14 +44,17 @@ private:
class DLL_Test_Parent_Export Base
{
public:
+ virtual void _raise () const;
Base ();
+ virtual ~Base() = default;
};
class DLL_Test_Parent_Export Derived : public Base
{
public:
Derived ();
- void _raise () const;
+ void _raise () const override;
+ ~Derived () override = default;
};
#endif /* ACE_TESTS_DLL_TEST_PARENT_H */