summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-12-02 10:03:51 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-20 20:18:33 +0100
commit0ee653a310e269b4393becda0954e90a3c9e4344 (patch)
treeba95240c1ee97eb4c97feaee74df96cdf479da8f
parent934ef4bcc9d79aeb9c7a62a75e1ad81a61e67f48 (diff)
downloadqtwebkit-0ee653a310e269b4393becda0954e90a3c9e4344.tar.gz
Fix compilation with Intel CC
Inline functions must be defined. This one is meant not to be defined, so don't mark it inline Change-Id: Ibdf81302f88d568042ff5fc6733f96c8716fa52d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
-rw-r--r--Source/WTF/wtf/MathExtras.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WTF/wtf/MathExtras.h b/Source/WTF/wtf/MathExtras.h
index 4ff78df9f..1bdbc6108 100644
--- a/Source/WTF/wtf/MathExtras.h
+++ b/Source/WTF/wtf/MathExtras.h
@@ -279,7 +279,7 @@ template<typename T> inline T clampTo(double value, T min = defaultMinimumForCla
return min;
return static_cast<T>(value);
}
-template<> inline long long int clampTo(double, long long int, long long int); // clampTo does not support long long ints.
+template<> long long int clampTo(double, long long int, long long int); // clampTo does not support long long ints.
inline int clampToInteger(double value)
{