summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-07-28 09:56:52 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit397ad714d8a0ddc3f0b9d5cbcbd68aec9cbe55d0 (patch)
tree3dff4ffebdbabe94576e957b81048343fd16ee8b
parent2fbbf206caf7a2a2940a3c7535a85660b54b6734 (diff)
remove some of th more verbose debug messages
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/json_helper.hpp2
-rw-r--r--src/layers.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/json_helper.hpp b/src/json_helper.hpp
index 840a8c3..b9d3c92 100644
--- a/src/json_helper.hpp
+++ b/src/json_helper.hpp
@@ -14,7 +14,7 @@ json_object *to_json(std::vector<uint32_t> const &v);
// We ned to manually unwrap numbers
template <typename T>
wm::result<T> get(nlohmann::json const &j) {
- DB(j);
+ // DB(j);
T r;
std::istringstream s(j.get<std::string>());
s >> r;
diff --git a/src/layers.cpp b/src/layers.cpp
index 07586ad..d3ec7cf 100644
--- a/src/layers.cpp
+++ b/src/layers.cpp
@@ -11,7 +11,7 @@
namespace wm {
surface_id_to_layer::surface_id_to_layer(nlohmann::json const &j) {
- DB(j);
+ // DB(j);
if (j["type"] == "range") {
this->id_min = get<int>(j["first_surface_id"]);
this->id_max = get<int>(j["last_surface_id"]);