[geos-commits] r2615 - in branches/3.1/source: headers/geos/io io
svn_geos at osgeo.org
svn_geos at osgeo.org
Fri Jul 17 18:23:03 EDT 2009
Author: pramsey
Date: 2009-07-17 18:23:03 -0400 (Fri, 17 Jul 2009)
New Revision: 2615
Modified:
branches/3.1/source/headers/geos/io/WKBReader.h
branches/3.1/source/io/WKBReader.cpp
Log:
Remove static string in WKB reader (#232)
Modified: branches/3.1/source/headers/geos/io/WKBReader.h
===================================================================
--- branches/3.1/source/headers/geos/io/WKBReader.h 2009-07-17 22:21:42 UTC (rev 2614)
+++ branches/3.1/source/headers/geos/io/WKBReader.h 2009-07-17 22:23:03 UTC (rev 2615)
@@ -24,6 +24,9 @@
#include <vector>
#include <string>
+#define BAD_GEOM_TYPE_MSG "Bad geometry type encountered in"
+
+
// Forward declarations
namespace geos {
namespace geom {
@@ -105,8 +108,6 @@
private:
- static std::string BAD_GEOM_TYPE_MSG;
-
const geom::GeometryFactory &factory;
// for now support the WKB standard only - may be generalized later
Modified: branches/3.1/source/io/WKBReader.cpp
===================================================================
--- branches/3.1/source/io/WKBReader.cpp 2009-07-17 22:21:42 UTC (rev 2614)
+++ branches/3.1/source/io/WKBReader.cpp 2009-07-17 22:23:03 UTC (rev 2615)
@@ -43,8 +43,6 @@
namespace geos {
namespace io { // geos.io
-string WKBReader::BAD_GEOM_TYPE_MSG = "bad geometry type encountered in ";
-
WKBReader::WKBReader()
:
factory(*(GeometryFactory::getDefaultInstance()))
More information about the geos-commits
mailing list