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 @@ -36,18 +36,6 @@ parse_options_baset::parse_options_baset(
36
36
message_handler(cmdline, program),
37
37
log(message_handler)
38
38
{
39
-
40
- // DO NOT USE log HERE!
41
- //
42
- // The usual pattern of use is that the application class inherits from
43
- // messaget and parse_options_baset using a member variable of type
44
- // message_handlert to construct the messaget part.
45
- //
46
- // C++'s rules of initialisation mean that the constructors for
47
- // messaget and then parse_options_base run before those of message_handlert.
48
- // This means that the message_handlert object is uninitialised.
49
- // Using it here will likely cause a hard to debug failure somewhere in
50
- // the messaget code.
51
39
}
52
40
53
41
void parse_options_baset::help ()
You can’t perform that action at this time.
0 commit comments