Declare BLooperListIterator in the right place.

Before, it tried to typedef it to a private struct, but outside of the
class.
This commit is contained in:
Jonathan Schleifer 2014-01-10 21:06:29 +01:00 committed by Stephan Aßmus
parent a2bf375cbd
commit 6abec6b93a
2 changed files with 1 additions and 2 deletions

View File

@ -52,6 +52,7 @@ private:
BLooper* looper;
};
typedef std::vector<BLooperList::LooperData>::iterator LooperDataIterator;
struct FindLooperPred {
FindLooperPred(const BLooper* loop) : looper(loop) {}
bool operator()(LooperData& Data);

View File

@ -25,8 +25,6 @@ namespace BPrivate {
BLooperList gLooperList;
typedef vector<BLooperList::LooperData>::iterator LooperDataIterator;
BLooperList::BLooperList()
: