Opened 15 years ago

Closed 15 years ago

#1119 closed Bugs (fixed)

enable_reference_tracking copy constructor does not call base class version

Reported by: Paolo Owned by: Eric Niebler
Milestone: To Be Determined Component: xpressive
Version: Boost 1.34.1 Severity: Cosmetic
Keywords: Cc:

Description

I get warning messages whenever I use xpressive compiling with gcc -Wextra. The problem is that the copy constructor of enable_reference_tracking does not call that of enable_shared_from_this. To reproduce, just compile the first example in the xpressive manual with the -Wextra flag of gcc.

Change History (1)

comment:1 by Eric Niebler, 15 years ago

Resolution: fixed
Status: newclosed

In svn head, enable_reference_tracking no longer inherits from enable_shared_from_this. However, I tried compiling xpressive's examples with gcc -Wall and fixed all the warnings.

Note: See TracTickets for help on using tickets.