Skip to content

Commit

Permalink
This is what I meant to do
Browse files Browse the repository at this point in the history
Reviewed By: iamirzhan

Differential Revision: D68320468

fbshipit-source-id: 652b0c08782f285aeeb43c5a7663f54e73359891
  • Loading branch information
Simon Marlow authored and facebook-github-bot committed Jan 17, 2025
1 parent 5bf87b6 commit 2e23094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glean/schema/cpp/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -29613,7 +29613,7 @@ struct ArgumentValue : Predicate<boost::variant<Alt<0, std::string>, Alt<1, std:
struct SCHEMA {
template<typename P> struct index;
static constexpr size_t count = 1321;
inline static std::string schemaId = "59d399727c5be908f526f7279d0e6ee1";
static constexpr char schemaId[] = "59d399727c5be908f526f7279d0e6ee1";
template<size_t i> struct predicate;
};

Expand Down
2 changes: 1 addition & 1 deletion glean/schema/gen/Glean/Schema/Gen/Cpp.hs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ defineSchema ds hash = do
"static constexpr size_t count = "
<> Text.pack (show $ length pnames)
<> ";",
"inline static std::string schemaId = \"" <> unSchemaId hash <> "\";",
"static constexpr char schemaId[] = \"" <> unSchemaId hash <> "\";",
"template<size_t i> struct predicate;"
]
, ["};"]
Expand Down

0 comments on commit 2e23094

Please sign in to comment.