Skip to content
Snippets Groups Projects
Commit 97868cbd authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Remove unneeded enum keyword

parent 04b6690d
No related branches found
No related tags found
No related merge requests found
...@@ -192,7 +192,7 @@ SymbolTable::getID(SymbolType type, int tsid) const noexcept(false) ...@@ -192,7 +192,7 @@ SymbolTable::getID(SymbolType type, int tsid) const noexcept(false)
} }
map<string, map<int, string>> 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; map<string, map<int, string>> partitions;
for (const auto & it : partition_value_map) for (const auto & it : partition_value_map)
......
...@@ -320,7 +320,7 @@ public: ...@@ -320,7 +320,7 @@ public:
//! Returns true if the partition name is the first encountered for the type of variable represented by id //! 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); bool isFirstOfPartitionForType(int id) const noexcept(false);
//! Returns a list of partitions and symbols that belong to that partition //! 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) //! Get type (by ID)
inline SymbolType getType(int id) const noexcept(false); inline SymbolType getType(int id) const noexcept(false);
//! Get type (by name) //! Get type (by name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment