Author: j6t
Date: 2008-06-01 22:12:59 +0200 (Sun, 01 Jun 2008)
New Revision: 1057
Modified:
trunk/hvirtual/plugins/threshold/threshold.C
Log:
Fix build on gcc 4.3.
Template functions cannot be static.
Patch by Nicolas Chauvet.
Modified: trunk/hvirtual/plugins/threshold/threshold.C
===================================================================
--- trunk/hvirtual/plugins/threshold/threshold.C 2008-04-11 03:07:55 UTC (rev 1056)
+++ trunk/hvirtual/plugins/threshold/threshold.C 2008-06-01 20:12:59 UTC (rev 1057)
@@ -461,13 +461,13 @@
}
template<>
-static inline float scale_to_range(int v)
+inline float scale_to_range(int v)
{
return (float) v / 0xff;
}
template<>
-static inline uint16_t scale_to_range(int v)
+inline uint16_t scale_to_range(int v)
{
return v << 8 | v;
}
_______________________________________________
Cinelerra-commits mailing list
Cinelerra-commits@???
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra-commits