Skip to content

Commit bcab647

Browse files
committed
make iccProfileDefined const
Signed-off-by: Rosen Penev <[email protected]>
1 parent a3f628d commit bcab647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/exiv2/image.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class EXIV2API Image {
199199
/*!
200200
@brief Returns the status of the ICC profile in the image instance
201201
*/
202-
virtual bool iccProfileDefined() {
202+
[[nodiscard]] virtual bool iccProfileDefined() const {
203203
return !iccProfile_.empty();
204204
}
205205

0 commit comments

Comments
 (0)