From 755d38d4d6e382980e7ba9619b0226feec27f7d0 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 22 May 2019 19:46:56 +0200 Subject: [PATCH] fix(custom): bad alloc --- src/modules/custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/custom.cpp b/src/modules/custom.cpp index 2bbd6efd..a2294e5e 100644 --- a/src/modules/custom.cpp +++ b/src/modules/custom.cpp @@ -3,7 +3,7 @@ waybar::modules::Custom::Custom(const std::string& name, const std::string& id, const Json::Value& config) - : ALabel(config, "custom-" + name_, id, "{}"), name_(name), fp_(nullptr), pid_(-1) { + : ALabel(config, "custom-" + name, id, "{}"), name_(name), fp_(nullptr), pid_(-1) { if (config_["exec"].isString()) { if (interval_.count() > 0) { delayWorker();