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:
parent
db5cf010d7
commit
20ecab6268
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user