Boost logo

Boost :

Subject: [boost] [1.53] program_options warning fix
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2013-01-19 06:41:55


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() {}
      };

-- 
Vladimir Prus
CodeSourcery / Mentor Graphics
http://www.mentor.com/embedded-software/

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