diff options
Diffstat (limited to 'ACE/examples/Smart_Pointers/Widget_Part_Impl.cpp')
-rw-r--r-- | ACE/examples/Smart_Pointers/Widget_Part_Impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/examples/Smart_Pointers/Widget_Part_Impl.cpp b/ACE/examples/Smart_Pointers/Widget_Part_Impl.cpp index b0433a99746..bc55b76be7f 100644 --- a/ACE/examples/Smart_Pointers/Widget_Part_Impl.cpp +++ b/ACE/examples/Smart_Pointers/Widget_Part_Impl.cpp @@ -22,19 +22,19 @@ Widget_Part_Impl::Widget_Part_Impl (Widget *owner, const char* name, int size) ACE_DEBUG ((LM_DEBUG, "Widget_Part_Impl constructor\n")); } -Widget_Part_Impl::~Widget_Part_Impl (void) +Widget_Part_Impl::~Widget_Part_Impl () { ACE_DEBUG ((LM_DEBUG, "Widget_Part_Impl destructor\n")); delete [] name_; } -void Widget_Part_Impl::print_info (void) +void Widget_Part_Impl::print_info () { ACE_DEBUG ((LM_INFO, "Widget part: name=%s size=%d\n", name_, size_)); } -void Widget_Part_Impl::remove_from_owner (void) +void Widget_Part_Impl::remove_from_owner () { // Since we only have a raw pointer to refer to the owner, we have no way of // checking whether the owner still exists, and if it does guaranteeing that |