Boost logo

Boost :

Subject: Re: [boost] [1.53] program_options warning fix
From: Vladimir Prus (ghost_at_[hidden])
Date: 2013-01-20 08:16:26


On 19.01.2013 19:47, Marshall Clow wrote:
> On Jan 19, 2013, at 3:41 AM, Vladimir Prus <vladimir_at_[hidden]> wrote:
>
>> May I merge the below fix to release branch? It was checked in July (so yeah, tests have cycles
>> since then), but it seems I have failed to merge it until now.
>>
>>
>> Index: boost/program_options/errors.hpp
>> ===================================================================
>> --- boost/program_options/errors.hpp (revision 79476)
>> +++ boost/program_options/errors.hpp (revision 79477)
>> @@ -250,7 +250,7 @@
>> }
>>
>> /** Does NOT set option name, because no option name makes sense */
>> - virtual void set_option_name(const std::string&option_name) {}
>> + virtual void set_option_name(const std::string&) {}
>>
>> ~error_with_no_option_name() throw() {}
>> };
>
> Go ahead.

Thanks, done.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk