Skip to content

Commit

Permalink
Avoid CI warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jan 23, 2024
1 parent 8ac905d commit f0e2e21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/auxiliary/TemplateFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ namespace
{
template <typename T>
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<T>());
}

template <unsigned n>
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;
Expand Down

0 comments on commit f0e2e21

Please sign in to comment.