[vala] posix: Do not access static members with instance references



commit e5c637571b81398186d573c3364cf175d1d5d78f
Author: JÃrg Billeter <j bitron ch>
Date:   Mon Aug 6 15:47:39 2012 +0200

    posix: Do not access static members with instance references

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 6d56e8d..3638866 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -2418,7 +2418,7 @@ namespace Posix {
 
 		public static CpuSet init(int num = 1) {
 			CpuSet cpus = new CpuSet(num);
-			var size = cpus.alloc_size(num);
+			var size = CpuSet.alloc_size(num);
 			cpus.zero_sized(size);
 			return cpus;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]