Opened 14 years ago

Closed 14 years ago

#2463 closed Bugs (fixed)

constrained_value type missing default constructor for member value_.

Reported by: Dean Michael Berris Owned by: az_sw_dude
Milestone: Boost 1.37.0 Component: date_time
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

When using Ubuntu GCC 4.3.2 the constrained_value type causes a warning on a possible use of an uninitialized member variable.

Attached is a trivial patch to address the issue.

Attachments (1)

boost-date_time-constrained_value.hpp.patch (455 bytes ) - added by Dean Michael Berris 14 years ago.
Patch to constrained_value.hpp.

Download all attachments as: .zip

Change History (2)

by Dean Michael Berris, 14 years ago

Patch to constrained_value.hpp.

comment:1 by Andrey Semashev, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.