Make dummy definition in supportsField() const
This commit is contained in:
parent
01813e7879
commit
26c88befda
|
@ -350,7 +350,7 @@ template <class ImplementationType> inline KnownField FieldMapBasedTag<Implement
|
|||
|
||||
template <class ImplementationType> inline bool FieldMapBasedTag<ImplementationType>::supportsField(KnownField field) const
|
||||
{
|
||||
static IdentifierType def;
|
||||
static const auto def = IdentifierType();
|
||||
return fieldId(field) != def;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue