[geos-commits] r2614 - in branches/3.0/source: headers/geos/io io

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Jul 17 18:21:42 EDT 2009


Author: pramsey
Date: 2009-07-17 18:21:42 -0400 (Fri, 17 Jul 2009)
New Revision: 2614

Modified:
   branches/3.0/source/headers/geos/io/WKBReader.h
   branches/3.0/source/io/WKBReader.cpp
Log:
Remove static string in WKB reader (#232)


Modified: branches/3.0/source/headers/geos/io/WKBReader.h
===================================================================
--- branches/3.0/source/headers/geos/io/WKBReader.h	2009-07-15 18:56:30 UTC (rev 2613)
+++ branches/3.0/source/headers/geos/io/WKBReader.h	2009-07-17 22:21:42 UTC (rev 2614)
@@ -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.0/source/io/WKBReader.cpp
===================================================================
--- branches/3.0/source/io/WKBReader.cpp	2009-07-15 18:56:30 UTC (rev 2613)
+++ branches/3.0/source/io/WKBReader.cpp	2009-07-17 22:21:42 UTC (rev 2614)
@@ -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