From 4f87aba8af5ff2d358e83a5051e339f004321232 Mon Sep 17 00:00:00 2001 From: Hubert Figuière Date: Sun, 4 Feb 2018 12:26:24 -0500 Subject: Adobe SDK: fix warnings about extraneous const --- XMPFiles/source/NativeMetadataSupport/IMetadata.h | 4 ++-- XMPFiles/source/NativeMetadataSupport/ValueObject.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/XMPFiles/source/NativeMetadataSupport/IMetadata.h b/XMPFiles/source/NativeMetadataSupport/IMetadata.h index 608d4a2..9efdb45 100644 --- a/XMPFiles/source/NativeMetadataSupport/IMetadata.h +++ b/XMPFiles/source/NativeMetadataSupport/IMetadata.h @@ -122,7 +122,7 @@ public: * @param outBuffer Array * @return Number of array elements */ - template const T* const getArray( XMP_Uns32 id, XMP_Uns32& outSize ) const; + template const T* getArray( XMP_Uns32 id, XMP_Uns32& outSize ) const; /** * Remove value for passed identifier @@ -324,7 +324,7 @@ template const T& IMetadata::getValue( XMP_Uns32 id ) const } } -template const T* const IMetadata::getArray( XMP_Uns32 id, XMP_Uns32& outSize ) const +template const T* IMetadata::getArray( XMP_Uns32 id, XMP_Uns32& outSize ) const { ValueMap::const_iterator iterator = mValues.find( id ); diff --git a/XMPFiles/source/NativeMetadataSupport/ValueObject.h b/XMPFiles/source/NativeMetadataSupport/ValueObject.h index 4ef2f50..b687559 100644 --- a/XMPFiles/source/NativeMetadataSupport/ValueObject.h +++ b/XMPFiles/source/NativeMetadataSupport/ValueObject.h @@ -79,7 +79,7 @@ public: TArrayObject( const T* buffer, XMP_Uns32 bufferSize ); ~TArrayObject(); - inline const T* const getArray( XMP_Uns32& outSize ) const { outSize = mSize; return mArray; } + inline const T* getArray( XMP_Uns32& outSize ) const { outSize = mSize; return mArray; } void setArray( const T* buffer, XMP_Uns32 numElements); private: -- cgit v1.2.3