Boost logo

Boost :

Subject: Re: [boost] [1.53] program_options warning fix
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-01-19 10:47:26


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.

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


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