From 397ad714d8a0ddc3f0b9d5cbcbd68aec9cbe55d0 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Fri, 28 Jul 2017 09:56:52 +0200 Subject: [PATCH] remove some of th more verbose debug messages Signed-off-by: Marcus Fritzsch --- src/json_helper.hpp | 2 +- src/layers.cpp | 2 +- 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 const &v); // We ned to manually unwrap numbers template wm::result get(nlohmann::json const &j) { - DB(j); + // DB(j); T r; std::istringstream s(j.get()); 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(j["first_surface_id"]); this->id_max = get(j["last_surface_id"]); -- 2.16.6