Opened 17 years ago

Closed 17 years ago

#440 closed Bugs (Invalid)

shared_from_this warnings on linux

Reported by: nobody Owned by: Peter Dimov
Milestone: Component: smart_ptr
Version: None Severity:
Keywords: Cc:

Description

1. warning: `class X' has virtual 
   functions but non-virtual destructor
   Resolution: add virtual keyword to destructor
2. warning: `class Y' has virtual 
   functions but non-virtual destructor
   Resolution: same as above
3. warning: `class impl' has virtual 
   functions but non-virtual destructor
   Resolution: add virtual destructor
4. warning: `class impl2' has 
   virtual functions but non-virtual destructor
   Resolution: item [3]


Change History (1)

comment:1 by Peter Dimov, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=305912

The lack of virtual destructor is part of what is being tested.
Note: See TracTickets for help on using tickets.