diff options
Diffstat (limited to 'ACE/examples/DLL/Newsweek.h')
-rw-r--r-- | ACE/examples/DLL/Newsweek.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ACE/examples/DLL/Newsweek.h b/ACE/examples/DLL/Newsweek.h index ddf97a96604..32124b6a04c 100644 --- a/ACE/examples/DLL/Newsweek.h +++ b/ACE/examples/DLL/Newsweek.h @@ -34,9 +34,8 @@ class Newsweek : public Magazine { public: - // This is the abstract class method which describes the magazine. - void title (void); + void title () override; // Overload the new/delete opertors so the object will be // created/deleted using the memory allocator associated with the @@ -45,9 +44,7 @@ public: #if defined (ACE_HAS_NEW_NOTHROW) // Overloaded new operator, nothrow_t variant. void *operator new (size_t bytes, const ACE_nothrow_t&); -#if !defined (ACE_LACKS_PLACEMENT_OPERATOR_DELETE) void operator delete (void *p, const ACE_nothrow_t&) throw (); -#endif /* ACE_LACKS_PLACEMENT_OPERATOR_DELETE */ #endif void operator delete (void *ptr); }; |