[GRASS-SVN] r73079 - grass-addons/grass7/raster/r.houghtransform

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 11 19:55:24 PDT 2018


Author: wenzeslaus
Date: 2018-08-11 19:55:24 -0700 (Sat, 11 Aug 2018)
New Revision: 73079

Modified:
   grass-addons/grass7/raster/r.houghtransform/hough.cpp
   grass-addons/grass7/raster/r.houghtransform/hough.h
Log:
r.houghtransform: polished includes

Modified: grass-addons/grass7/raster/r.houghtransform/hough.cpp
===================================================================
--- grass-addons/grass7/raster/r.houghtransform/hough.cpp	2018-08-12 02:46:31 UTC (rev 73078)
+++ grass-addons/grass7/raster/r.houghtransform/hough.cpp	2018-08-12 02:55:24 UTC (rev 73079)
@@ -1,6 +1,6 @@
 #include "houghtransform.h"
 
-#include"linesegmentsextractor.h"
+#include "linesegmentsextractor.h"
 #include "matrix.h"
 
 extern "C" {

Modified: grass-addons/grass7/raster/r.houghtransform/hough.h
===================================================================
--- grass-addons/grass7/raster/r.houghtransform/hough.h	2018-08-12 02:46:31 UTC (rev 73078)
+++ grass-addons/grass7/raster/r.houghtransform/hough.h	2018-08-12 02:55:24 UTC (rev 73079)
@@ -3,11 +3,10 @@
 
 #include "houghparameters.h"
 
-extern "C" {
-#include <grass/gis.h>
-#include <grass/raster.h>
-}
+#include <cstddef>
 
+using std::size_t;
+
 void hough_peaks(HoughParametres houghParametres, ExtractParametres extractParametres, const char *name, const char *mapset, size_t nrows, size_t ncols, const char *angleMapName, const char *houghImageName, const char *result);
 
 #endif // HOUGH_H



More information about the grass-commit mailing list