Skip to content

Commit

Permalink
Initialize global encoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub authored and hobu committed Jun 6, 2017
1 parent a6a2b7c commit cb82e64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion io/LasWriter.cpp
Expand Up @@ -96,7 +96,8 @@ void LasWriter::addArgs(ProgramArgs& args)
decltype(m_dataformatId)(3));
args.add("format", "Point format", m_dataformatId,
decltype(m_dataformatId)(3));
args.add("global_encoding", "Global encoding byte", m_globalEncoding);
args.add("global_encoding", "Global encoding byte", m_globalEncoding,
decltype(m_globalEncoding)(0));
args.add("project_id", "Project ID", m_projectId);
args.add("system_id", "System ID", m_systemId,
decltype(m_systemId)(m_lasHeader.getSystemIdentifier()));
Expand Down

0 comments on commit cb82e64

Please sign in to comment.