From: ThorstenB Date: Sun, 19 Feb 2012 19:30:15 +0000 (+0100) Subject: Fix MSVC build issue. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=632824e4d8247a5939baa31f7ea1cf5f790998af;p=flightgear.git Fix MSVC build issue. MSVC complained about ambiguous "floor" when T=. --- diff --git a/src/Network/generic.hxx b/src/Network/generic.hxx index 627f3ef60..55f0ca8a5 100644 --- a/src/Network/generic.hxx +++ b/src/Network/generic.hxx @@ -113,7 +113,7 @@ private: if( prot.max > prot.min ) { if( prot.wrap ) - new_val = SGMisc::normalizePeriodic(prot.min, prot.max, new_val); + new_val = SGMisc::normalizePeriodic(prot.min, prot.max, new_val); else new_val = SGMisc::clip(new_val, prot.min, prot.max); }