From: Marcus Fritzsch Date: Tue, 5 Sep 2017 11:56:17 +0000 (+0200) Subject: layers: prefer using instead of typedef X-Git-Tag: 4.99.1~128 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=61a7017f78cc08ce8744f4d2fba40a70f02e1bda;p=staging%2Fwindowmanager.git layers: prefer using instead of typedef Signed-off-by: Marcus Fritzsch --- 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