aboutsummaryrefslogtreecommitdiffstats
path: root/src/layers.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-10-30 14:36:16 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-10-30 14:36:16 +0900
commitde492ca32c0cc4eb7e090ba33945eb75a21cc14a (patch)
treec81e48f9fa7199afa87a25781599ed6d963989b1 /src/layers.cpp
parent3ae8e9b6a7947b91409b112e1a699385627c5945 (diff)
add source for ces2019
Diffstat (limited to 'src/layers.cpp')
-rw-r--r--src/layers.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/layers.cpp b/src/layers.cpp
index bbe7c09..05d404d 100644
--- a/src/layers.cpp
+++ b/src/layers.cpp
@@ -18,7 +18,7 @@
#include "layers.hpp"
#include "json_helper.hpp"
-#include "hmi-debug.h"
+#include "util.hpp"
namespace wm
{
@@ -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;
}