Opened 15 years ago
Closed 14 years ago
#1289 closed Bugs (fixed)
posix_time::time_facet forgets to pass a_ref argument to base class
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | To Be Determined | Component: | date_time |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
The default constructor of posix_time::time_facet (with one default argument) forgets to pass that argument value (a_ref) to its base class, date_facet. That one in turn correctly passes that value to std::locale::facet. This bug is present in 1.33.1, 1.34.1, and even SVN, where "cepstein" recently commented out that argument in SVN r39274, but that is the wrong fix. Instead, that argument must be passed to the base class because std::locale::facet indeed uses that value.
A patch against 1.34.1 will be attached. If you want to patch this against SVN, first revert r39274 in the file time_facet.hpp, then apply the patch.
Attachments (1)
Change History (2)
by , 15 years ago
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch for boost/date_time/time_facet.hpp to fix missed argument passing