Skip to content

Commit 4ae33ce

Browse files
committed
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.
1 parent fda6414 commit 4ae33ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/program_options/detail/config_file.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace boost { namespace program_options { namespace detail {
6262
TODO: maybe, we should just accept a pointer to options_description
6363
class.
6464
*/
65-
class common_config_file_iterator
65+
class BOOST_PROGRAM_OPTIONS_DECL common_config_file_iterator
6666
: public eof_iterator<common_config_file_iterator, option>
6767
{
6868
public:

0 commit comments

Comments
 (0)