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;