File pfstools-1.8.1-fix-return-in-nonvoid.patch of Package pfstools

Index: pfstools-1.8.1/src/hdrhtml/hdrhtml.cpp
===================================================================
--- pfstools-1.8.1.orig/src/hdrhtml/hdrhtml.cpp	2009-03-11 22:45:55.000000000 +0100
+++ pfstools-1.8.1/src/hdrhtml/hdrhtml.cpp	2010-03-02 15:21:24.000000000 +0100
@@ -195,6 +195,7 @@ public:
     this->y_i = new float[lut_size];
     own_y_i = true;
     memcpy(this->y_i, other.y_i, lut_size * sizeof(float));
+	return *this;
   }
 
   ~UniformArrayLUT()
openSUSE Build Service is sponsored by