File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,6 @@ parse_options_baset::parse_options_baset(
33
33
{
34
34
std::string optstring=std::string (" ?h(help)" )+_optstring;
35
35
parse_result=cmdline.parse (argc, argv, optstring.c_str ());
36
-
37
- // DO NOT USE log HERE!
38
- //
39
- // The usual pattern of use is that the application class inherits from
40
- // messaget and parse_options_baset using a member variable of type
41
- // message_handlert to construct the messaget part.
42
- //
43
- // C++'s rules of initialisation mean that the constructors for
44
- // messaget and then parse_options_base run before those of message_handlert.
45
- // This means that the message_handlert object is uninitialised.
46
- // Using it here will likely cause a hard to debug failure somewhere in
47
- // the messaget code.
48
36
}
49
37
50
38
void parse_options_baset::help ()
You can’t perform that action at this time.
0 commit comments