+ use member variable in ctor

This commit is contained in:
artemp 2012-07-19 16:24:29 +01:00
parent 994f9abb01
commit c0ecb7e980

View file

@ -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))
{