File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
include/boost/program_options Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace boost { namespace program_options {
35
35
}
36
36
37
37
/* * Base class for all errors in the library. */
38
- class BOOST_PROGRAM_OPTIONS_DECL error : public std::logic_error {
38
+ class BOOST_SYMBOL_VISIBLE error : public std::logic_error {
39
39
public:
40
40
error (const std::string& xwhat) : std::logic_error(xwhat) {}
41
41
};
@@ -44,23 +44,23 @@ namespace boost { namespace program_options {
44
44
/* * Class thrown when there are too many positional options.
45
45
This is a programming error.
46
46
*/
47
- class BOOST_PROGRAM_OPTIONS_DECL too_many_positional_options_error : public error {
47
+ class BOOST_SYMBOL_VISIBLE too_many_positional_options_error : public error {
48
48
public:
49
49
too_many_positional_options_error ()
50
50
: error(" too many positional options have been specified on the command line" )
51
51
{}
52
52
};
53
53
54
54
/* * Class thrown when there are programming error related to style */
55
- class BOOST_PROGRAM_OPTIONS_DECL invalid_command_line_style : public error {
55
+ class BOOST_SYMBOL_VISIBLE invalid_command_line_style : public error {
56
56
public:
57
57
invalid_command_line_style (const std::string& msg)
58
58
: error(msg)
59
59
{}
60
60
};
61
61
62
62
/* * Class thrown if config file can not be read */
63
- class BOOST_PROGRAM_OPTIONS_DECL reading_file : public error {
63
+ class BOOST_SYMBOL_VISIBLE reading_file : public error {
64
64
public:
65
65
reading_file (const char * filename)
66
66
: error(std::string(" can not read options configuration file '" ).append(filename).append(" '" ))
You can’t perform that action at this time.
0 commit comments