1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build with clang

This commit is contained in:
Dmitry Marakasov 2013-08-22 11:51:47 +00:00
parent 30333e6f5e
commit 84940215b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325187

View File

@ -0,0 +1,11 @@
--- libglosm-server/include/glosm/BBox.hh.orig 2011-02-27 18:05:45.000000000 +0300
+++ libglosm-server/include/glosm/BBox.hh 2013-08-22 15:50:54.227227655 +0400
@@ -48,7 +48,7 @@
/**
* Constructs empty bounding box
*/
- BBox(): BBox<T>::Empty() {
+ BBox(): left(std::numeric_limits<T>::max()), bottom(std::numeric_limits<T>::max()), right(std::numeric_limits<T>::min()), top(std::numeric_limits<T>::min()) {
}
/**