We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ce3b8 commit 9b6bdf4Copy full SHA for 9b6bdf4
src/evo/verifiable.h
@@ -22,12 +22,17 @@ enum SignerType : uint8_t {
22
};
23
template<> struct is_serializable_enum<SignerType> : std::true_type {};
24
25
-[[maybe_unused]] static constexpr std::array<std::string_view, SignerType::LAST+1> signerTypeDefs = {
26
- "UNKNOWN",
27
- "MGT",
28
- "ORAT",
29
- "LLMQ"
30
-};
+constexpr std::array<std::string_view, SignerType::LAST+1> makeSignerTypeDefs() {
+ std::array<std::string_view, SignerType::LAST+1> arr = {
+ "UNKNOWN",
+ "MGT",
+ "ORAT",
+ "LLMQ"
31
+ };
32
+ return arr;
33
+}
34
+
35
+[[maybe_unused]] static constexpr auto signerTypeDefs = makeSignerTypeDefs();
36
37
class Verifiable {
38
public:
0 commit comments