aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--utils/enum_symbols.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/enum_symbols.cpp b/utils/enum_symbols.cpp
index bd8a82b..dad5300 100644
--- a/utils/enum_symbols.cpp
+++ b/utils/enum_symbols.cpp
@@ -40,12 +40,15 @@ public:
pdb::Symbol::Type get_type() const { return static_cast<pdb::Symbol::Type>(tag); }
private:
- static const auto reserved_tag = static_cast<pdb::symbol::Tag>(pdb::Symbol::Type::RESERVED);
- static const auto function_tag = static_cast<pdb::symbol::Tag>(pdb::Symbol::Type::Function);
+ static constexpr auto reserved_tag = static_cast<pdb::symbol::Tag>(pdb::Symbol::Type::RESERVED);
+ static constexpr auto function_tag = static_cast<pdb::symbol::Tag>(pdb::Symbol::Type::Function);
pdb::symbol::Tag tag = reserved_tag;
};
+constexpr pdb::symbol::Tag EnumSymbols::reserved_tag;
+constexpr pdb::symbol::Tag EnumSymbols::function_tag;
+
} // namespace
int main(int argc, char* argv[]) {