[mapbox-wagyu] 03/06: New upstream version 0.4.3
Bas Couwenberg
sebastic at debian.org
Sat Aug 5 12:07:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository mapbox-wagyu.
commit 01a14390db438740bbb80c2b618ecd7216fbd3d1
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Aug 5 13:57:57 2017 +0200
New upstream version 0.4.3
---
CHANGELOG.md | 4 ++++
include/mapbox/geometry/wagyu/util.hpp | 4 ++--
include/mapbox/geometry/wagyu/wagyu.hpp | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e4b14c6..0461808 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -43,3 +43,7 @@
- Fixed bug in `get_dx`
- Fixed some includes that were missing in some headers
- Removed some dead code paths and checks that are no longer required
+
+## 0.4.3
+
+- Use `::llround()` instead of `std::llround()` for old libstdc++ compatibility.
diff --git a/include/mapbox/geometry/wagyu/util.hpp b/include/mapbox/geometry/wagyu/util.hpp
index 622d4fc..c7fedae 100644
--- a/include/mapbox/geometry/wagyu/util.hpp
+++ b/include/mapbox/geometry/wagyu/util.hpp
@@ -73,12 +73,12 @@ bool slopes_equal(mapbox::geometry::point<T> const& pt1,
template <typename T>
inline T wround(double value) {
- return static_cast<T>(std::llround(value));
+ return static_cast<T>(::llround(value));
}
template <>
inline std::int64_t wround<std::int64_t>(double value) {
- return std::llround(value);
+ return ::llround(value);
}
}
}
diff --git a/include/mapbox/geometry/wagyu/wagyu.hpp b/include/mapbox/geometry/wagyu/wagyu.hpp
index 784b9fb..8490337 100644
--- a/include/mapbox/geometry/wagyu/wagyu.hpp
+++ b/include/mapbox/geometry/wagyu/wagyu.hpp
@@ -17,7 +17,7 @@
#define WAGYU_MAJOR_VERSION 0
#define WAGYU_MINOR_VERSION 4
-#define WAGYU_PATCH_VERSION 2
+#define WAGYU_PATCH_VERSION 3
#define WAGYU_VERSION \
(WAGYU_MAJOR_VERSION * 100000) + (WAGYU_MINOR_VERSION * 100) + (WAGYU_PATCH_VERSION)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapbox-wagyu.git
More information about the Pkg-grass-devel
mailing list