Skip to content

Commit 789b329

Browse files
kevinbackhousekmilos
authored andcommitted
Make methods non-virtual
(cherry picked from commit 72c5d97)
1 parent a28a830 commit 789b329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/exiv2/image.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ class EXIV2API Image {
201201
@param size number of bytes to append
202202
@param bTestValid - tests that iccProfile contains credible data
203203
*/
204-
virtual void appendIccProfile(const uint8_t* bytes, size_t size, bool bTestValid);
204+
void appendIccProfile(const uint8_t* bytes, size_t size, bool bTestValid);
205205
/*!
206206
@brief Throw an exception if the size at the beginning of the iccProfile isn't correct.
207207
*/
208-
virtual void checkIccProfile();
208+
void checkIccProfile();
209209
/*!
210210
@brief Erase iccProfile. the profile is not removed from
211211
the actual image until the writeMetadata() method is called.

0 commit comments

Comments
 (0)