+ use member variable in ctor
This commit is contained in:
parent
994f9abb01
commit
c0ecb7e980
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public:
|
|||
// 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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue