File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -1159,16 +1159,6 @@ namespace {
1159
1159
1160
1160
- * Rationale* : Avoids confusion about the namespace context.
1161
1161
1162
- - Use include guards to avoid the problem of double inclusion. The header file
1163
- ` foo/bar.h ` should use the include guard identifier ` BITCOIN_FOO_BAR_H ` , e.g.
1164
-
1165
- ``` c++
1166
- #ifndef BITCOIN_FOO_BAR_H
1167
- #define BITCOIN_FOO_BAR_H
1168
- ...
1169
- #endif // BITCOIN_FOO_BAR_H
1170
- ```
1171
-
1172
1162
GUI
1173
1163
-----
1174
1164
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def main():
83
83
84
84
if count != 3 :
85
85
print (f'{ header_file } seems to be missing the expected '
86
- 'include guard:' )
86
+ 'include guard to prevent the double inclusion problem :' )
87
87
print (f' #ifndef { header_id } ' )
88
88
print (f' #define { header_id } ' )
89
89
print (' ...' )
You can’t perform that action at this time.
0 commit comments