Skip to content

Commit

Permalink
Fix iosbase.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Jun 28, 2019
1 parent e510146 commit a47d4b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion io/Ilvis2Reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

#include <algorithm>
#include <cmath>
#include <ios>

namespace pdal
{
Expand Down Expand Up @@ -70,7 +71,7 @@ std::istream& operator >> (std::istream& in, Ilvis2Reader::IlvisMapping& mval)

auto it = m.find(s);
if (it == m.end())
in.setstate(std::iosbase::failbit);
in.setstate(std::ios_base::failbit);
else
mval = it->second;
return in;
Expand Down

0 comments on commit a47d4b1

Please sign in to comment.