Skip to content

Commit

Permalink
Fix for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed May 18, 2015
1 parent 93319fa commit e572bbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kernels/tindex/TIndexKernel.cpp
Expand Up @@ -162,7 +162,10 @@ void TIndexKernel::validateSwitches()
{
if (m_filespec.empty())
throw pdal_error("No output filename provided.");
StringList invalidArgs { "t_srs", "srs_srs_name" };
StringList invalidArgs;
invalidArgs.push_back("t_srs");
invalidArgs.push_back("src_srs_name");

for (auto arg : invalidArgs)
if (argumentSpecified(arg))
{
Expand Down

0 comments on commit e572bbd

Please sign in to comment.