aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"]);