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 @@ -1160,16 +1160,6 @@ namespace {
1160
1160
1161
1161
- * Rationale* : Avoids confusion about the namespace context.
1162
1162
1163
- - Use include guards to avoid the problem of double inclusion. The header file
1164
- ` foo/bar.h ` should use the include guard identifier ` BITCOIN_FOO_BAR_H ` , e.g.
1165
-
1166
- ``` c++
1167
- #ifndef BITCOIN_FOO_BAR_H
1168
- #define BITCOIN_FOO_BAR_H
1169
- ...
1170
- #endif // BITCOIN_FOO_BAR_H
1171
- ```
1172
-
1173
1163
GUI
1174
1164
-----
1175
1165
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