From 3f75971a9bed11eec7c330e2f709176df8e796fe Mon Sep 17 00:00:00 2001
From: Jonathan Schleifer <js@webkeks.org>
Date: Fri, 10 Jan 2014 21:06:29 +0100
Subject: [PATCH 02/10] Declare BLooperListIterator in the right place.
Before, it tried to typedef it to a private struct, but outside of the
class.
---
headers/private/app/LooperList.h | 1 +
src/kits/app/LooperList.cpp | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/headers/private/app/LooperList.h b/headers/private/app/LooperList.h
index 7bdc824..4968628 100644
a
|
b
|
private:
|
52 | 52 | |
53 | 53 | BLooper* looper; |
54 | 54 | }; |
| 55 | typedef std::vector<BLooperList::LooperData>::iterator LooperDataIterator; |
55 | 56 | struct FindLooperPred { |
56 | 57 | FindLooperPred(const BLooper* loop) : looper(loop) {} |
57 | 58 | bool operator()(LooperData& Data); |
diff --git a/src/kits/app/LooperList.cpp b/src/kits/app/LooperList.cpp
index e27460a..98902fc 100644
a
|
b
|
namespace BPrivate {
|
25 | 25 | |
26 | 26 | BLooperList gLooperList; |
27 | 27 | |
28 | | typedef vector<BLooperList::LooperData>::iterator LooperDataIterator; |
29 | | |
30 | 28 | |
31 | 29 | BLooperList::BLooperList() |
32 | 30 | : |