From 22a7a8c2ed99dbaa8b6497a2832bce7eee18a630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 14 Feb 2018 23:58:17 +0100 Subject: [PATCH] Fix outdated documentation of PngImage::doWriteMetadata() The function does not return anything, it only throws exceptions. --- include/exiv2/pngimage.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exiv2/pngimage.hpp b/include/exiv2/pngimage.hpp index b9ae9f11..54ab3473 100644 --- a/include/exiv2/pngimage.hpp +++ b/include/exiv2/pngimage.hpp @@ -110,9 +110,9 @@ namespace Exiv2 /*! @brief Provides the main implementation of writeMetadata() by writing all buffered metadata to the provided BasicIo. + @throw Error on input-output errors or when the image data is not valid. @param oIo BasicIo instance to write to (a temporary location). - @return 4 if opening or writing to the associated BasicIo fails */ EXV_DLLLOCAL void doWriteMetadata(BasicIo& oIo); //@}