Skip to content

Commit

Permalink
compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed May 26, 2020
1 parent 917e717 commit 3e8bd10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io/TIndexReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ TIndexReader::FieldIndexes TIndexReader::getFields()
if (indexes.m_filename < 0)
throwError("Unable to find field '" + m_tileIndexColumnName +
"' in file '" + m_filename + "'.");
if (m_srsColumnName.size()
if (m_srsColumnName.size())
indexes.m_srs = OGR_FD_GetFieldIndex(fDefn, m_srsColumnName.c_str());

indexes.m_ctime = OGR_FD_GetFieldIndex(fDefn, "created");
Expand Down Expand Up @@ -228,7 +228,7 @@ void TIndexReader::initialize()
reader->setOptions(readerOptions);
Stage *premerge = reader;

if (m_tgtSrsString && m_tgtSrsString.size() )
if (m_tgtSrsString.size() )
{
Stage *repro = m_factory.createStage("filters.reprojection");
repro->setInput(*reader);
Expand Down

0 comments on commit 3e8bd10

Please sign in to comment.