diff options
author | 2018-08-22 13:43:42 +0900 | |
---|---|---|
committer | 2018-08-22 14:04:23 +0900 | |
commit | c3291c967516a188789a860821471d8c872fbb47 (patch) | |
tree | 9a0af6b1e239d3486f750a04906473563dab6786 /src/layers.cpp | |
parent | 58da0c77b98af1b771e4af28b42d0a3ddec09877 (diff) |
Fix util function HMI_*
To reduce coding, change HMI_*
Change-Id: Ib28b6a3c2756253e665498e459f5e1e165095941
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/layers.cpp')
-rw-r--r-- | src/layers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/layers.cpp b/src/layers.cpp index db1588b..05d404d 100644 --- a/src/layers.cpp +++ b/src/layers.cpp @@ -58,7 +58,7 @@ layer::layer(nlohmann::json const &j) return l; }); } - HMI_DEBUG("wm", "layer_id:%d is_normal_layout_only:%d\n", + HMI_DEBUG("layer_id:%d is_normal_layout_only:%d\n", this->layer_id, this->is_normal_layout_only); } @@ -136,11 +136,11 @@ optional<int> layer_map::get_layer_id(std::string const &role) auto re = std::regex(r.first); if (std::regex_match(role, re)) { - HMI_DEBUG("wm", "role %s matches layer %d", role.c_str(), r.second); + HMI_DEBUG("role %s matches layer %d", role.c_str(), r.second); return optional<int>(r.second); } } - HMI_DEBUG("wm", "role %s does NOT match any layer", role.c_str()); + HMI_DEBUG("role %s does NOT match any layer", role.c_str()); return nullopt; } |