diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-12-02 10:03:51 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-20 20:18:33 +0100 |
commit | 0ee653a310e269b4393becda0954e90a3c9e4344 (patch) | |
tree | ba95240c1ee97eb4c97feaee74df96cdf479da8f | |
parent | 934ef4bcc9d79aeb9c7a62a75e1ad81a61e67f48 (diff) | |
download | qtwebkit-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.h | 2 |
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) { |