summaryrefslogtreecommitdiff
path: root/ACE/examples/DLL/Today.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/DLL/Today.h')
-rw-r--r--ACE/examples/DLL/Today.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ACE/examples/DLL/Today.h b/ACE/examples/DLL/Today.h
index 14fb80459c2..8a74299420d 100644
--- a/ACE/examples/DLL/Today.h
+++ b/ACE/examples/DLL/Today.h
@@ -34,10 +34,9 @@
class Today : public Magazine
{
public:
-
// The virtual abstract class method which returns the title of 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
@@ -46,9 +45,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);
};