[SCM] calf/master: + Fixed point class: make one() function static as it should be

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:37:53 UTC 2013


The following commit has been merged in the master branch:
commit 7321c5e272e4cf7688d3159e9fcb4d1c2d1ff6e6
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Wed Oct 29 23:14:06 2008 +0000

    + Fixed point class: make one() function static as it should be

diff --git a/src/calf/fixed_point.h b/src/calf/fixed_point.h
index de5f289..a8f4a0b 100644
--- a/src/calf/fixed_point.h
+++ b/src/calf/fixed_point.h
@@ -68,7 +68,7 @@ public:
         return result;
     }
     
-    inline T one() {
+    inline static T one() {
         return (T)(1) << FracBits;
     }
 

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list