From 97868cbd2af704871bca2fbc807db0644a248b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 18 Jul 2018 16:58:16 +0200 Subject: [PATCH] Remove unneeded enum keyword --- src/SymbolTable.cc | 2 +- src/SymbolTable.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SymbolTable.cc b/src/SymbolTable.cc index ca1a124f..4a80927d 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 5a72fae7..622522cd 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) -- GitLab