From 257675485d89c35c4f477c5a31e05b1520fd1c29 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sun, 3 Oct 2021 23:13:59 +0200 Subject: [PATCH] Template: Remove redundant debug output --- template.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/template.cpp b/template.cpp index 351d1c2..c02c197 100644 --- a/template.cpp +++ b/template.cpp @@ -130,11 +130,10 @@ std::string Template::renderRevisionList(const std::vector &revisions, std::stringstream stream; UrlProvider urlprovider(*this->configUrls); - auto genwithoutpage = [&] { + auto genwithoutpage = [&] + { for(const Revision &revision : revisions) { - - Logger::debug() << "processing: " << revision.revision; stream << "" << revision.revision << "" << "" << revision.author << "" @@ -143,7 +142,8 @@ std::string Template::renderRevisionList(const std::vector &revisions, } }; - auto genwithpage = [&] { + auto genwithpage = [&] + { for(const Revision &revision : revisions) {