Skip to content

Commit 2e23094

Browse files
Simon Marlowfacebook-github-bot
Simon Marlow
authored andcommitted
This is what I meant to do
Reviewed By: iamirzhan Differential Revision: D68320468 fbshipit-source-id: 652b0c08782f285aeeb43c5a7663f54e73359891
1 parent 5bf87b6 commit 2e23094

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

glean/schema/cpp/schema.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -29613,7 +29613,7 @@ struct ArgumentValue : Predicate<boost::variant<Alt<0, std::string>, Alt<1, std:
2961329613
struct SCHEMA {
2961429614
template<typename P> struct index;
2961529615
static constexpr size_t count = 1321;
29616-
inline static std::string schemaId = "59d399727c5be908f526f7279d0e6ee1";
29616+
static constexpr char schemaId[] = "59d399727c5be908f526f7279d0e6ee1";
2961729617
template<size_t i> struct predicate;
2961829618
};
2961929619

glean/schema/gen/Glean/Schema/Gen/Cpp.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ defineSchema ds hash = do
8888
"static constexpr size_t count = "
8989
<> Text.pack (show $ length pnames)
9090
<> ";",
91-
"inline static std::string schemaId = \"" <> unSchemaId hash <> "\";",
91+
"static constexpr char schemaId[] = \"" <> unSchemaId hash <> "\";",
9292
"template<size_t i> struct predicate;"
9393
]
9494
, ["};"]

0 commit comments

Comments
 (0)