From 9897917b9c8c4fb4d42762db6627746529b684c6 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 27 Dec 2005 21:08:02 +0000 Subject: [PATCH] Added (more Be-ish) Add() methods. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15682 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/util/Vector.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/headers/private/kernel/util/Vector.h b/headers/private/kernel/util/Vector.h index f078fd2700..6a90cdc3aa 100644 --- a/headers/private/kernel/util/Vector.h +++ b/headers/private/kernel/util/Vector.h @@ -65,6 +65,9 @@ public: void PopFront(); void PopBack(); + status_t Add(const Value &value) { return PushBack(value); } + status_t Add(const Value &value, int32 index) { return Insert(value, index); } + status_t Insert(const Value &value, int32 index); status_t Insert(const Value &value, const Iterator &iterator);