From be1f5c04f7725eaa9895d80f29c2c17911a40336 Mon Sep 17 00:00:00 2001 From: Tixx <83774803+WiserTixx@users.noreply.github.com> Date: Sun, 21 Sep 2025 21:20:52 +0200 Subject: [PATCH] Remove mid-line ini comments --- include/Utils.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/Utils.h b/include/Utils.h index 28f0986..bd110ca 100644 --- a/include/Utils.h +++ b/include/Utils.h @@ -120,13 +120,6 @@ namespace Utils { if (line.empty() || line[0] == ';' || line[0] == '#') continue; - for (auto& c : line) { - if (c == '#' || c == ';') { - line = line.substr(0, &c - &line[0]); - break; - } - } - auto invalidLineLog = [&]{ debug("Invalid INI line: " + line); debug("Surrounding lines: \n" +