summaryrefslogtreecommitdiff
path: root/graphics/glosm/files/patch-libglosm-server-include-glosm-BBox.hh
blob: ff80e5c03bc4682da341f91fd6cce337ac84b8a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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()) {
 	}
 
 	/**