diff --git a/include/boost/test/utils/runtime/cla/parser.hpp b/include/boost/test/utils/runtime/cla/parser.hpp index d1b898e7f4..1b9896e180 100644 --- a/include/boost/test/utils/runtime/cla/parser.hpp +++ b/include/boost/test/utils/runtime/cla/parser.hpp @@ -76,6 +76,7 @@ class global_mod_parser { class parser { public: typedef std::list::const_iterator param_iterator; + typedef std::list::size_type param_size_type; // Constructor explicit parser( cstring program_name = cstring() ); @@ -100,7 +101,7 @@ class parser { // parameters access param_iterator first_param() const; param_iterator last_param() const; - unsigned num_params() const { return m_parameters.size(); } + param_size_type num_params() const { return m_parameters.size(); } void reset(); // arguments access