Remove redundant const from Mac wxDataFormat methods return type

No real changes, but useless top-level const in the return type resulted
in -Wignored-qualifiers warning (if it was enabled).

Closes #18646.
This commit is contained in:
Mitrik Sicilian 2020-01-09 22:43:12 +01:00 committed by Vadim Zeitlin
parent db5cf010d7
commit 20ecab6268

View File

@ -43,8 +43,8 @@ public:
// explicit and implicit conversions to NativeFormat which is one of // explicit and implicit conversions to NativeFormat which is one of
// standard data types (implicit conversion is useful for preserving the // standard data types (implicit conversion is useful for preserving the
// compatibility with old code) // compatibility with old code)
const NativeFormat GetFormatId() const { return m_format; } NativeFormat GetFormatId() const { return m_format; }
operator const NativeFormat() const { return m_format; } operator NativeFormat() const { return m_format; }
void SetId(NativeFormat format); void SetId(NativeFormat format);