summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2018-02-04 12:26:24 -0500
committerHubert Figuière <hub@figuiere.net>2018-02-04 12:26:24 -0500
commit4f87aba8af5ff2d358e83a5051e339f004321232 (patch)
tree729fa78a5410a6119aed36f0917db534f1ab2e9f
parent411fd919f1977aa528f4b35fdcdb996d38cc4a22 (diff)
Adobe SDK: fix warnings about extraneous const
-rw-r--r--XMPFiles/source/NativeMetadataSupport/IMetadata.h4
-rw-r--r--XMPFiles/source/NativeMetadataSupport/ValueObject.h2
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<class T> const T* const getArray( XMP_Uns32 id, XMP_Uns32& outSize ) const;
+ template<class T> const T* getArray( XMP_Uns32 id, XMP_Uns32& outSize ) const;
/**
* Remove value for passed identifier
@@ -324,7 +324,7 @@ template<class T> const T& IMetadata::getValue( XMP_Uns32 id ) const
}
}
-template<class T> const T* const IMetadata::getArray( XMP_Uns32 id, XMP_Uns32& outSize ) const
+template<class T> 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: