diff options
-rw-r--r-- | src/layers.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/layers.hpp b/src/layers.hpp index a33f24a..af1638a 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -60,10 +60,10 @@ struct layer { 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 |