diff --git a/src/blackmisc/variant.h b/src/blackmisc/variant.h index b51d6b14b..f7d8c2a5d 100644 --- a/src/blackmisc/variant.h +++ b/src/blackmisc/variant.h @@ -122,7 +122,7 @@ namespace BlackMisc //! Returns the value converted to the type T, or a default if it can not be converted. //! \details Parameter is passed by value to avoid odr-using the argument in case it is - //! an inline-initialized static const integral data member without a definition (§9.4.2/3). + //! an inline-initialized static const integral data member without a definition (§9.4.2/3). template T valueOrDefault(T def) const { return canConvert() ? value() : def; } //! Return the internal QVariant.