Skip to content

Commit e3e75a0

Browse files
authored
refactor include guards (#343)
1 parent 212cbec commit e3e75a0

90 files changed

Lines changed: 270 additions & 270 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/odr/archive.hpp

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

44
#include <memory>
55
#include <string>
@@ -27,4 +27,4 @@ class Archive {
2727

2828
} // namespace odr
2929

30-
#endif // ODR_ARCHIVE_H
30+
#endif // ODR_ARCHIVE_HPP

src/odr/document.hpp

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

44
#include <memory>
55
#include <string>
@@ -40,4 +40,4 @@ class Document final {
4040

4141
} // namespace odr
4242

43-
#endif // ODR_DOCUMENT_H
43+
#endif // ODR_DOCUMENT_HPP

src/odr/document_element.hpp

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

44
#include <cstdint>
55
#include <memory>
@@ -504,4 +504,4 @@ class Image final : public TypedElement<internal::abstract::Image> {
504504

505505
} // namespace odr
506506

507-
#endif // ODR_DOCUMENT_ELEMENT_H
507+
#endif // ODR_DOCUMENT_ELEMENT_HPP

src/odr/document_path.hpp

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

44
#include <cstdint>
55
#include <string>
@@ -80,4 +80,4 @@ class DocumentPath final {
8080

8181
} // namespace odr
8282

83-
#endif // ODR_INTERNAL_COMMON_DOCUMENT_PATH_H
83+
#endif // ODR_INTERNAL_COMMON_DOCUMENT_PATH_HPP

src/odr/exceptions.hpp

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

44
#include <stdexcept>
55

@@ -114,4 +114,4 @@ struct UnknownDocumentType final : public std::runtime_error {
114114

115115
} // namespace odr
116116

117-
#endif // ODR_EXCEPTIONS_H
117+
#endif // ODR_EXCEPTIONS_HPP

src/odr/file.hpp

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

44
#include <cstdint>
55
#include <memory>
@@ -231,4 +231,4 @@ class DocumentFile final : public DecodedFile {
231231

232232
} // namespace odr
233233

234-
#endif // ODR_FILE_H
234+
#endif // ODR_FILE_HPP

src/odr/filesystem.hpp

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

44
#include <cstdint>
55
#include <memory>
@@ -59,4 +59,4 @@ class Filesystem {
5959

6060
} // namespace odr
6161

62-
#endif // ODR_FILESYSTEM_H
62+
#endif // ODR_FILESYSTEM_HPP

src/odr/html.hpp

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

44
#include <odr/document.hpp>
55
#include <odr/file.hpp>
@@ -106,4 +106,4 @@ void edit(const Document &document, const char *diff);
106106

107107
} // namespace odr
108108

109-
#endif // ODR_HTML_H
109+
#endif // ODR_HTML_HPP

src/odr/internal/abstract/archive.hpp

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

44
#include <memory>
55

@@ -21,4 +21,4 @@ class Archive {
2121

2222
} // namespace odr::internal::abstract
2323

24-
#endif // ODR_INTERNAL_ABSTRACT_ARCHIVE_H
24+
#endif // ODR_INTERNAL_ABSTRACT_ARCHIVE_HPP

src/odr/internal/abstract/document.hpp

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

44
#include <odr/document_element.hpp>
55

@@ -53,4 +53,4 @@ class Document {
5353

5454
} // namespace odr::internal::abstract
5555

56-
#endif // ODR_INTERNAL_ABSTRACT_DOCUMENT_H
56+
#endif // ODR_INTERNAL_ABSTRACT_DOCUMENT_HPP

0 commit comments

Comments
 (0)