Skip to content

Commit 518c0d1

Browse files
authored
fix warnings
1 parent 9f38cb2 commit 518c0d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CppCoreGuidelines.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19648,12 +19648,13 @@ To maximize the portability of `#include` directives across compilers, guidance
1964819648
// good examples
1964919649
#include <vector>
1965019650
#include <string>
19651-
#include "utils/utils.h"
19651+
#include "foo_utils/utils.h"
1965219652

1965319653
// bad examples
1965419654
// #include <VECTOR> // the standard library defines a header identified as <vector>, not <VECTOR>
1965519655
// #include <String> // the standard library defines a header identified as <string>, not <String>
19656-
// #include "utils\utils.h" // may not work if `\u` is interpreted as an escape sequence, or on a system where `\` is not a valid path separator
19656+
// #include "foo_utils\utils.h" // may not work if `\u` is interpreted as an escape sequence, or on a system where `\` is not a valid path separator
19657+
// #include "Foo_Utils/Utils.H" // the header file as it exists on the file system is "foo_utils/utils.h"
1965719658

1965819659
##### Enforcement
1965919660

0 commit comments

Comments
 (0)