[Rawstudio-commit] rawspeed r53 - RawSpeed
Anders Brander
anders at brander.dk
Sun Feb 1 14:29:17 CET 2009
Author: abrander
Date: 2009-02-01 14:29:17 +0100 (Sun, 01 Feb 2009)
New Revision: 53
Modified:
RawSpeed/Point.h
Log:
- Fixed some unix portability.
- Redeclared ~iPoint2D().
Modified: RawSpeed/Point.h
===================================================================
--- RawSpeed/Point.h 2009-02-01 13:21:19 UTC (rev 52)
+++ RawSpeed/Point.h 2009-02-01 13:29:17 UTC (rev 53)
@@ -22,12 +22,15 @@
#ifndef SS_Point_H
#define SS_Point_H
+#ifdef __unix
+#include <stdlib.h>
+#endif
class iPoint2D {
public:
iPoint2D() {x = y = 0; }
iPoint2D( int a, int b) {x=a; y=b;}
- ~iPoint2D();
+ ~iPoint2D() {};
guint area() {return abs(x*y);}
int x,y;
};
More information about the Rawstudio-commit
mailing list