From 4ae33ce15e5b6345e6eefa19466fdf7cd28a7bbd Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 19 Dec 2013 08:16:19 +0400 Subject: [PATCH] Add dllexport to common_config_file_iterator. As reported in #6797, there are linker errors otherwise. I do not know why regression tests, which test dll linking explicitly, do not catch this. --- include/boost/program_options/detail/config_file.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/program_options/detail/config_file.hpp b/include/boost/program_options/detail/config_file.hpp index 4c2c15b..b819b5d 100644 --- a/include/boost/program_options/detail/config_file.hpp +++ b/include/boost/program_options/detail/config_file.hpp @@ -62,7 +62,7 @@ namespace boost { namespace program_options { namespace detail { TODO: maybe, we should just accept a pointer to options_description class. */ - class common_config_file_iterator + class BOOST_PROGRAM_OPTIONS_DECL common_config_file_iterator : public eof_iterator { public: