Index: boost/program_options/detail/value_semantic.hpp =================================================================== --- boost/program_options/detail/value_semantic.hpp (revision 57783) +++ boost/program_options/detail/value_semantic.hpp (working copy) @@ -33,7 +33,7 @@ void typed_value::notify(const boost::any& value_store) const { - const T* value = boost::any_cast(&value_store); + const T* value = boost::any_cast(&value_store); if (m_store_to) { *m_store_to = *value; }