Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

+ use member variable in ctor

  • Loading branch information...
commit c0ecb7e980e1f7cf0cabd46614126ca615ff9cdd 1 parent 994f9ab
@artemp artemp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/wkb.cpp
View
2  src/wkb.cpp
@@ -76,7 +76,7 @@ struct wkb_reader : boost::noncopyable
// try to determine WKB format automatically
if (format_ == wkbAuto)
{
- if (size >= 44
+ if (size_ >= 44
&& (unsigned char)(wkb_[0]) == (unsigned char)(0x00)
&& (unsigned char)(wkb_[38]) == (unsigned char)(0x7C))
{
Please sign in to comment.
Something went wrong with that request. Please try again.