Skip to content

Commit ba67fbf

Browse files
committed
consistent include guards
1 parent 8cad8a1 commit ba67fbf

5 files changed

+15
-15
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CONSUME_CLASS_THAT_ADHERES_TO_CONCEPT_HPP
2-
#define CONSUME_CLASS_THAT_ADHERES_TO_CONCEPT_HPP
1+
#ifndef POYMORPHISM_CONSUME_CLASS_THAT_ADHERES_TO_CONCEPT_HPP
2+
#define POYMORPHISM_CONSUME_CLASS_THAT_ADHERES_TO_CONCEPT_HPP
33

44
#include <polymorphism/has_super_cool_features.hpp>
55

@@ -10,4 +10,4 @@ std::string consume(has_super_cool_features auto& s);
1010

1111
} // namespace modern
1212

13-
#endif // CONSUME_CLASS_THAT_ADHERES_TO_CONCEPT_HPP
13+
#endif // POYMORPHISM_CONSUME_CLASS_THAT_ADHERES_TO_CONCEPT_HPP
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef CONSUME_CLASS_WITH_INTERFACE_HPP
2-
#define CONSUME_CLASS_WITH_INTERFACE_HPP
1+
#ifndef POYMORPHISM_CONSUME_CLASS_WITH_INTERFACE_HPP
2+
#define POYMORPHISM_CONSUME_CLASS_WITH_INTERFACE_HPP
33

44
#include <polymorphism/i_super_cool_features.hpp>
55

@@ -9,4 +9,4 @@ std::string consume(ISuperCoolFeatures& f);
99

1010
} // namespace classic
1111

12-
#endif // CONSUME_CLASS_WITH_INTERFACE_HPP
12+
#endif // POYMORPHISM_CONSUME_CLASS_WITH_INTERFACE_HPP

polymorphism/include/polymorphism/has_super_cool_features.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef EXAMPLE_5_FEATURES_HPP
2-
#define EXAMPLE_5_FEATURES_HPP
1+
#ifndef POYMORPHISM_HAS_SUPER_COOL_FEATURES_HPP
2+
#define POYMORPHISM_HAS_SUPER_COOL_FEATURES_HPP
33

44
#include <string>
55

@@ -14,4 +14,4 @@ concept has_super_cool_features = requires(T t, std::string s) {
1414

1515
} // namespace modern
1616

17-
#endif // EXAMPLE_5_FEATURES_HPP
17+
#endif // POYMORPHISM_HAS_SUPER_COOL_FEATURES_HPP

polymorphism/include/polymorphism/i_super_cool_features.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef ISUPERCOOLFEATURES_HPP
2-
#define ISUPERCOOLFEATURES_HPP
1+
#ifndef POLYMORPHISM_I_SUPER_COOL_FEATURES_HPP
2+
#define POLYMORPHISM_I_SUPER_COOL_FEATURES_HPP
33

44
#include <string>
55

@@ -15,4 +15,4 @@ class ISuperCoolFeatures {
1515

1616
} // namespace classic
1717

18-
#endif // ISUPERCOOLFEATURES_HPP
18+
#endif // POLYMORPHISM_I_SUPER_COOL_FEATURES_HPP

polymorphism/include/polymorphism/impl_without_interface.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef IMPL_WITHOUT_INTERFACE_HPP
2-
#define IMPL_WITHOUT_INTERFACE_HPP
1+
#ifndef POYMORPHISM_IMPL_WITHOUT_INTERFACE_HPP
2+
#define POYMORPHISM_IMPL_WITHOUT_INTERFACE_HPP
33

44
#include <polymorphism/has_super_cool_features.hpp>
55

@@ -24,4 +24,4 @@ static_assert(has_super_cool_features<Impl>);
2424

2525
} // namespace modern
2626

27-
#endif // IMPL_WITHOUT_INTERFACE_HPP
27+
#endif // POYMORPHISM_IMPL_WITHOUT_INTERFACE_HPP

0 commit comments

Comments
 (0)