Skip to content

Commit 485bb4f

Browse files
committed
Make the internal header include guards consistent
1 parent 8a80e24 commit 485bb4f

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

cmake/Version.h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#pragma once
55

6-
#ifndef VERSION_H
7-
#define VERSION_H
6+
#ifndef GRAPHQLVERSION_H
7+
#define GRAPHQLVERSION_H
88

99
#include <string_view>
1010

@@ -18,4 +18,4 @@ constexpr size_t PatchVersion = @PROJECT_VERSION_PATCH@;
1818

1919
} // namespace graphql::internal
2020

21-
#endif // VERSION_H
21+
#endif // GRAPHQLVERSION_H

include/graphqlservice/internal/Awaitable.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#pragma once
55

6-
#ifndef Awaitable_H
7-
#define Awaitable_H
6+
#ifndef GRAPHQLAWAITABLE_H
7+
#define GRAPHQLAWAITABLE_H
88

99
// clang-format off
1010
#ifdef USE_STD_EXPERIMENTAL_COROUTINE
@@ -159,4 +159,4 @@ class Awaitable
159159

160160
} // namespace graphql::internal
161161

162-
#endif // Awaitable_H
162+
#endif // GRAPHQLAWAITABLE_H

include/graphqlservice/internal/Base64.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#pragma once
55

6-
#ifndef BASE64_H
7-
#define BASE64_H
6+
#ifndef GRAPHQLBASE64_H
7+
#define GRAPHQLBASE64_H
88

99
// clang-format off
1010
#ifdef GRAPHQL_DLLEXPORTS
@@ -68,4 +68,4 @@ class Base64
6868

6969
} // namespace graphql::internal
7070

71-
#endif // BASE64_H
71+
#endif // GRAPHQLBASE64_H

include/graphqlservice/internal/SortedMap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#pragma once
55

6-
#ifndef SORTEDMAP_H
7-
#define SORTEDMAP_H
6+
#ifndef GRAPHQLSORTEDMAP_H
7+
#define GRAPHQLSORTEDMAP_H
88

99
#include <algorithm>
1010
#include <functional>
@@ -363,4 +363,4 @@ using string_view_set = sorted_set<std::string_view, shorter_or_less>;
363363

364364
} // namespace graphql::internal
365365

366-
#endif // SORTEDMAP_H
366+
#endif // GRAPHQLSORTEDMAP_H

include/graphqlservice/internal/SyntaxTree.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#pragma once
55

6-
#ifndef GRAPHQLTREE_H
7-
#define GRAPHQLTREE_H
6+
#ifndef GRAPHQLSYNTAXTREE_H
7+
#define GRAPHQLSYNTAXTREE_H
88

99
#include "graphqlservice/GraphQLParse.h"
1010

@@ -153,4 +153,4 @@ struct ast_input
153153

154154
} // namespace graphql::peg
155155

156-
#endif // GRAPHQLTREE_H
156+
#endif // GRAPHQLSYNTAXTREE_H

include/graphqlservice/internal/Version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#pragma once
55

6-
#ifndef VERSION_H
7-
#define VERSION_H
6+
#ifndef GRAPHQLVERSION_H
7+
#define GRAPHQLVERSION_H
88

99
#include <string_view>
1010

@@ -18,4 +18,4 @@ constexpr size_t PatchVersion = 1;
1818

1919
} // namespace graphql::internal
2020

21-
#endif // VERSION_H
21+
#endif // GRAPHQLVERSION_H

0 commit comments

Comments
 (0)