From f593816bc9c32a8570cf65697183f314348e8e87 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Fri, 18 Sep 2009 14:26:29 +0200 Subject: Changes in mutexes, vectors and VTs : mutexes now use the atomic_exchang defined in Task.wtf.asm some vector methods are now declared const VTs now can display (decimal) 64bit integers --- Source/Kernel/Library/Vector.class.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/Kernel/Library/Vector.class.h') diff --git a/Source/Kernel/Library/Vector.class.h b/Source/Kernel/Library/Vector.class.h index ca86c2a..61c26a4 100644 --- a/Source/Kernel/Library/Vector.class.h +++ b/Source/Kernel/Library/Vector.class.h @@ -17,17 +17,17 @@ class Vector { Vector& operator= (const Vector &other); ~Vector(); - T& operator[] (u32int index); + T& operator[] (u32int index) const; void push(const T& element); //void push(T& element); void pop(); - T& back(); - T& front(); + T& back() const; + T& front() const; - u32int size(); - bool empty(); + u32int size() const; + bool empty() const; void clear(); }; -- cgit v1.2.3