diff options
| author | Lily <47812810+LilyWangL@users.noreply.github.com> | 2020-11-04 15:10:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-03 23:10:51 -0800 |
| commit | 74ae197d7b333d9e2c19a058f3c88aabffdfdff4 (patch) | |
| tree | b2d7736f08f89264ccdd64d8048918023064bd38 /ports/pdal/0004-fix-const-overloaded.patch | |
| parent | 5c36967f365db6daf07a6e3d192814f6b9d6104c (diff) | |
| download | vcpkg-74ae197d7b333d9e2c19a058f3c88aabffdfdff4.tar.gz vcpkg-74ae197d7b333d9e2c19a058f3c88aabffdfdff4.zip | |
[kenlm, pdal] Fix const overload on Visual Studio 2019 version 16.8 (#14382)
Diffstat (limited to 'ports/pdal/0004-fix-const-overloaded.patch')
| -rw-r--r-- | ports/pdal/0004-fix-const-overloaded.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/pdal/0004-fix-const-overloaded.patch b/ports/pdal/0004-fix-const-overloaded.patch new file mode 100644 index 000000000..1f820aef3 --- /dev/null +++ b/ports/pdal/0004-fix-const-overloaded.patch @@ -0,0 +1,13 @@ +diff --git a/pdal/PointViewIter.hpp b/pdal/PointViewIter.hpp +index 0c387be..ccb0721 100644 +--- a/pdal/PointViewIter.hpp ++++ b/pdal/PointViewIter.hpp +@@ -139,7 +139,7 @@ public: + + bool operator==(const PointViewIter& i) + { return m_id == i.m_id; } +- bool operator!=(const PointViewIter& i) ++ bool operator!=(const PointViewIter& i) const + { return m_id != i.m_id; } + bool operator<=(const PointViewIter& i) + { return m_id <= i.m_id; } |
