diff options
author | monty@mysql.com <> | 2004-03-16 02:41:36 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-03-16 02:41:36 +0200 |
commit | 861bf3c8c031ea80076acb7f7466bda73b23213c (patch) | |
tree | 823df7708b2b22494819c41acd042404f0c24277 /sql/spatial.h | |
parent | a6ba9f3cbc382647cae3f62b11ba84bb7bc295ae (diff) | |
download | mariadb-git-861bf3c8c031ea80076acb7f7466bda73b23213c.tar.gz |
Portability fix
Diffstat (limited to 'sql/spatial.h')
-rw-r--r-- | sql/spatial.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/spatial.h b/sql/spatial.h index 213bbbf6323..cf07b364bb3 100644 --- a/sql/spatial.h +++ b/sql/spatial.h @@ -211,8 +211,7 @@ public: virtual int geometry_n(uint32 num, String *result) const { return -1; } public: - static Geometry *Geometry::create_by_typeid(Geometry_buffer *buffer, - int type_id) + static Geometry *create_by_typeid(Geometry_buffer *buffer, int type_id) { Class_info *ci; if (!(ci= find_class((int) type_id))) @@ -251,7 +250,7 @@ public: } bool envelope(String *result) const; - static Geometry::Class_info *ci_collection[Geometry::wkb_end+1]; + static Class_info *ci_collection[wkb_end+1]; protected: static Class_info *find_class(int type_id) |