mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:10:06 +00:00
reverted wfoMap_ to unordered_map and added error checking to getWFOName
This commit is contained in:
parent
ea23986ead
commit
ed00cec4cc
2 changed files with 10 additions and 5 deletions
|
|
@ -4,7 +4,6 @@
|
|||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -20,7 +19,7 @@ std::string GetCountyName(const std::string& id);
|
|||
std::unordered_map<std::string, std::string>
|
||||
GetCounties(const std::string& state);
|
||||
const std::unordered_map<std::string, std::string>& GetStates();
|
||||
const std::map<std::string, std::string>& GetWFOs();
|
||||
const std::unordered_map<std::string, std::string>& GetWFOs();
|
||||
const std::string& GetWFOName(const std::string& wfoId);
|
||||
|
||||
} // namespace CountyDatabase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue