[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:39:57 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=1ffcba3

The following commit has been merged in the master branch:
commit 1ffcba3f4c1f5fe053e40934aef4a902ae806e10
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Wed Oct 15 09:20:19 2008 +0000

    Added missing virtual destructor to class Loader (Vladimir).
---
 src/preview.cpp | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/preview.cpp b/src/preview.cpp
index 9a0f858..ea80467 100644
--- a/src/preview.cpp
+++ b/src/preview.cpp
@@ -73,16 +73,15 @@ namespace Exiv2 {
       and DataBuf.
      */
     class Loader {
-    protected:
-        //! Constructor. Sets all image properies to unknown.
-        Loader(PreviewId id, const Image &image);
-
     public:
+        //! Virtual destructor.
+        virtual ~Loader() {}
+
         //! Loader auto pointer
         typedef std::auto_ptr<Loader> AutoPtr;
 
         //! Create a Loader subclass for requested id
-        static Loader::AutoPtr create(PreviewId id, const Image &image);
+        static AutoPtr create(PreviewId id, const Image &image);
 
         //! Check if a preview image with given params exists in the image
         virtual bool valid() const { return valid_; }
@@ -100,6 +99,9 @@ namespace Exiv2 {
         static PreviewId getNumLoaders();
         
     protected:
+        //! Constructor. Sets all image properies to unknown.
+        Loader(PreviewId id, const Image &image);
+
         //! Functions that creates a loader from given parameters
         typedef AutoPtr (*CreateFunc)(PreviewId id, const Image &image, int parIdx);
 

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list