From 6abec6b93a9a7bbc0b0384cbedf93288dffc4965 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Fri, 10 Jan 2014 21:06:29 +0100 Subject: [PATCH] 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 7bdc8244e4..49686280bc 100644 --- a/headers/private/app/LooperList.h +++ b/headers/private/app/LooperList.h @@ -52,6 +52,7 @@ private: BLooper* looper; }; + typedef std::vector::iterator LooperDataIterator; struct FindLooperPred { FindLooperPred(const BLooper* loop) : looper(loop) {} bool operator()(LooperData& Data); diff --git a/src/kits/app/LooperList.cpp b/src/kits/app/LooperList.cpp index e27460a646..98902fcad1 100644 --- a/src/kits/app/LooperList.cpp +++ b/src/kits/app/LooperList.cpp @@ -25,8 +25,6 @@ namespace BPrivate { BLooperList gLooperList; -typedef vector::iterator LooperDataIterator; - BLooperList::BLooperList() :