Modify

Ticket #2224 (closed Bugs: fixed)

Opened 6 years ago

Last modified 5 years ago

filesystem::basic_path<>::replace_extension default parameter is wrong

Reported by: Hajo Kirchhoff <mailinglists@…> Owned by: bemandawes
Milestone: Boost 1.37.0 Component: filesystem
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

boost\filesystem\path.hpp:206

basic_path & replace_extension( const string_type & new_extension = "" );

The default extension is wrong for string_type==std::wstring and causes a compiler error.

It should probably be

new_extension = string_type()

Attachments

Change History

comment:1 Changed 6 years ago by marshall

  • Owner set to bemandawes
  • Component changed from None to filesystem
  • Milestone changed from Boost 1.36.0 to Boost 1.37.0

comment:2 Changed 5 years ago by bemandawes

  • Status changed from new to closed
  • Resolution set to fixed

(In [49481]) Filesystem: fix #2224 (Hajo Kirchhoff)

comment:3 Changed 5 years ago by bemandawes

Fixed.

Thanks for the bug report!

--Beman

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.