remove some of th more verbose debug messages
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Fri, 28 Jul 2017 07:56:52 +0000 (09:56 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/json_helper.hpp
src/layers.cpp

index 840a8c3..b9d3c92 100644 (file)
@@ -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;
index 07586ad..d3ec7cf 100644 (file)
@@ -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"]);