diff --git a/src/SymbolTable.cc b/src/SymbolTable.cc index ca1a124f4ff4c6d86684e53ed3754892fa09f3d3..4a80927d3a9ee8864dc6259a4056407d90cb1418 100644 --- a/src/SymbolTable.cc +++ b/src/SymbolTable.cc @@ -192,7 +192,7 @@ SymbolTable::getID(SymbolType type, int tsid) const noexcept(false) } map<string, map<int, string>> -SymbolTable::getPartitionsForType(enum SymbolType st) const noexcept(false) +SymbolTable::getPartitionsForType(SymbolType st) const noexcept(false) { map<string, map<int, string>> partitions; for (const auto & it : partition_value_map) diff --git a/src/SymbolTable.hh b/src/SymbolTable.hh index 5a72fae7a3958302f067776b023f838e5ceb0fed..622522cded68d76611bbc95bd553b7d447a772e5 100644 --- a/src/SymbolTable.hh +++ b/src/SymbolTable.hh @@ -320,7 +320,7 @@ public: //! Returns true if the partition name is the first encountered for the type of variable represented by id bool isFirstOfPartitionForType(int id) const noexcept(false); //! Returns a list of partitions and symbols that belong to that partition - map<string, map<int, string>> getPartitionsForType(enum SymbolType st) const noexcept(false); + map<string, map<int, string>> getPartitionsForType(SymbolType st) const noexcept(false); //! Get type (by ID) inline SymbolType getType(int id) const noexcept(false); //! Get type (by name)