From 22234dd3d29c6791b051a83012815eb9b4e205d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Thu, 4 Jan 2024 13:14:12 +0100 Subject: [PATCH] Avoid CI warnings --- src/auxiliary/TemplateFile.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/auxiliary/TemplateFile.cpp b/src/auxiliary/TemplateFile.cpp index 59d71ec613..bd88c7756a 100644 --- a/src/auxiliary/TemplateFile.cpp +++ b/src/auxiliary/TemplateFile.cpp @@ -16,13 +16,14 @@ namespace { template static void - call(Attributable &object, std::string const &name, Attribute attr) + call(Attributable &object, std::string const &name, Attribute &attr) { object.setAttribute(name, attr.get()); } template - static void call(Attributable &, std::string const &name, Attribute) + static void + call(Attributable &, std::string const &name, Attribute const &) { std::cerr << "Unknown datatype for template attribute '" << name << "'. Will skip it." << std::endl;