mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:07:04 +08:00
Changed file encoding to UTF-8.
This commit is contained in:
@@ -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 <typename T> T valueOrDefault(T def) const { return canConvert<T>() ? value<T>() : def; }
|
||||
|
||||
//! Return the internal QVariant.
|
||||
|
||||
Reference in New Issue
Block a user