Skip to content

Commit

Permalink
Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Apr 3, 2015
1 parent 56679c9 commit b909ff4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/pdal/PointView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ inline PointId PointView::getTemp(PointId id)
}
else
{
newid = m_index.size();
newid = (PointId)m_index.size();
m_index.push_back(m_index[id]);
}
return newid;
Expand Down
1 change: 1 addition & 0 deletions plugins/attribute/filters/AttributeFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <memory>

#include <pdal/GlobalEnvironment.hpp>
#include <pdal/GDALUtils.hpp>

#include <pdal/StageFactory.hpp>
#include <pdal/QuadIndex.hpp>
Expand Down
6 changes: 2 additions & 4 deletions src/plang/Script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ Script::Script(const std::string& source, const std::string& module,
}


std::ostream& operator<<(std::ostream& os, Script const& script)
std::ostream& operator << (std::ostream& os, Script const& script)
{
int len = strlen(script.source());

os << "source=[" << len << " bytes], ";
os << "source=[" << strlen(script.source()) << " bytes], ";
os << "module=" << script.module() << ", ";
os << "function=" << script.function();
os << std::endl;
Expand Down

0 comments on commit b909ff4

Please sign in to comment.