From b9e7e38a84046fc345bcac12611205fbea0bef19 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 14 Apr 2010 17:42:39 -0700 Subject: removed some windows warnings --- host/include/uhd/utils/algorithm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/utils/algorithm.hpp b/host/include/uhd/utils/algorithm.hpp index cc935b226..8fe9cde82 100644 --- a/host/include/uhd/utils/algorithm.hpp +++ b/host/include/uhd/utils/algorithm.hpp @@ -55,8 +55,8 @@ namespace std{ return 0; } - template T clip(T val, T1 minVal, T2 maxVal){ - return std::min(std::max(val, minVal), maxVal); + template T clip(T val, T minVal, T maxVal){ + return std::min(std::max(val, minVal), maxVal); } }//namespace std -- cgit v1.2.3