switch to using usings

This commit is contained in:
thecozies 2024-07-20 10:00:53 -05:00 committed by Mr-Wiseguy
parent 9406d7f197
commit e3016df67b

View file

@ -15,9 +15,9 @@ namespace recomp::config {
std::string json_path; // used as a json pointer
};
// config key -> JSONRef
typedef std::unordered_map<std::string, JSONRef> config_registry_key_reference_map;
using config_registry_key_reference_map = std::unordered_map<std::string, JSONRef>;
// config group -> json
typedef std::unordered_map<std::string, nlohmann::json> config_registry_group_json_map;
using config_registry_group_json_map = std::unordered_map<std::string, nlohmann::json>;
struct ConfigRegistry {
config_registry_key_reference_map key_ref_map;