From a880209efe5a0fb82469d2deba6ebcf5636ecabc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 15 Jan 2020 02:02:52 +0300 Subject: mingw builds: work around missing SymTagEnum --- utils/enum_symbols.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils') diff --git a/utils/enum_symbols.cpp b/utils/enum_symbols.cpp index 77171a5..bd8a82b 100644 --- a/utils/enum_symbols.cpp +++ b/utils/enum_symbols.cpp @@ -25,7 +25,7 @@ public: "pdb", po::value>(&pdbs)->value_name("ADDR,PATH"), "load a PDB file"); visible.add_options()( "functions", - po::value(&tag)->implicit_value(function_tag)->zero_tokens(), + po::value(&tag)->implicit_value(function_tag)->zero_tokens(), "only list functions"); } @@ -40,10 +40,10 @@ public: pdb::Symbol::Type get_type() const { return static_cast(tag); } private: - static const auto reserved_tag = static_cast(pdb::Symbol::Type::RESERVED); - static const auto function_tag = static_cast(pdb::Symbol::Type::Function); + static const auto reserved_tag = static_cast(pdb::Symbol::Type::RESERVED); + static const auto function_tag = static_cast(pdb::Symbol::Type::Function); - pdb::Symbol::Tag tag = reserved_tag; + pdb::symbol::Tag tag = reserved_tag; }; } // namespace -- cgit v1.2.3