struct layer_map {
using json = nlohmann::json;
- typedef std::set<struct layer> storage_type;
- typedef std::vector<unsigned int> layers_type;
- typedef std::vector<std::pair<std::string, int>> role_to_layer_map;
- typedef std::map<unsigned, unsigned> addsurf_layer_map;
+ using storage_type = std::set<struct layer>;
+ using layers_type = std::vector<unsigned int>;
+ using role_to_layer_map = std::vector<std::pair<std::string, int>>;
+ using addsurf_layer_map = std::map<unsigned, unsigned>;
// XXX: we also will need a layer_id to layer map, perhaps
// make this the primary map, and the surface_id->layer a