Skip to content

Commit

Permalink
mark us as not initialized if we destroyStream
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jun 5, 2015
1 parent c620ac3 commit 3e0d74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/las/LasReader.hpp
Expand Up @@ -88,7 +88,7 @@ class PDAL_DLL LasReader : public pdal::Reader
return m_istream;
}
virtual void destroyStream()
{ FileUtils::closeFile(m_istream); m_istream = NULL; }
{ FileUtils::closeFile(m_istream); m_istream = NULL; m_initialized = false; }
private:
LasError m_error;
LasHeader m_lasHeader;
Expand Down

0 comments on commit 3e0d74d

Please sign in to comment.