[geos-commits] r2175 - in trunk/source: headers/geos/io io
svn_geos at osgeo.org
svn_geos at osgeo.org
Thu Aug 28 20:29:59 EDT 2008
Author: mloskot
Date: 2008-08-28 20:29:58 -0400 (Thu, 28 Aug 2008)
New Revision: 2175
Modified:
trunk/source/headers/geos/io/WKBWriter.h
trunk/source/io/WKBWriter.cpp
Log:
Added missing virtual destructor to WKBWriter class.
Modified: trunk/source/headers/geos/io/WKBWriter.h
===================================================================
--- trunk/source/headers/geos/io/WKBWriter.h 2008-08-28 22:20:50 UTC (rev 2174)
+++ trunk/source/headers/geos/io/WKBWriter.h 2008-08-29 00:29:58 UTC (rev 2175)
@@ -67,9 +67,20 @@
class WKBWriter {
public:
-
+ /*
+ * \brief
+ * Initializes writer with target coordinate dimention, endianness flag
+ * and SRID value.
+ * <code>WKBWriter</code>.
+ */
WKBWriter(int dims=2, int bo=getMachineByteOrder(), bool includeSRID=false);
+ /*
+ * \brief
+ * Destructor.
+ */
+ virtual ~WKBWriter();
+
/*
* \brief
* Returns the output dimension used by the
Modified: trunk/source/io/WKBWriter.cpp
===================================================================
--- trunk/source/io/WKBWriter.cpp 2008-08-28 22:20:50 UTC (rev 2174)
+++ trunk/source/io/WKBWriter.cpp 2008-08-29 00:29:58 UTC (rev 2175)
@@ -48,6 +48,10 @@
throw util::IllegalArgumentException("WKB output dimension must be 2 or 3");
}
+WKBWriter::~WKBWriter()
+{
+}
+
void
WKBWriter::writeHEX(const Geometry &g, ostream &os)
{
More information about the geos-commits
mailing list