From 61a7017f78cc08ce8744f4d2fba40a70f02e1bda Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 5 Sep 2017 13:56:17 +0200 Subject: [PATCH] layers: prefer using instead of typedef Signed-off-by: Marcus Fritzsch --- src/layers.hpp | 8 ++++---- 1 file 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 storage_type; - typedef std::vector layers_type; - typedef std::vector> role_to_layer_map; - typedef std::map addsurf_layer_map; + using storage_type = std::set; + using layers_type = std::vector; + using role_to_layer_map = std::vector>; + using addsurf_layer_map = std::map; // XXX: we also will need a layer_id to layer map, perhaps // make this the primary map, and the surface_id->layer a -- 2.16.6