Unfolded a function for debugging purpose.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@979 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2002-09-03 16:58:43 +00:00
parent 76ba3434f8
commit 145ab60f00

View File

@ -24,7 +24,11 @@
class LooperQuitter {
public:
inline LooperQuitter(BLooper *looper) : fLooper(looper) {}
inline ~LooperQuitter() { fLooper->Lock(); fLooper->Quit(); }
inline ~LooperQuitter()
{
fLooper->Lock();
fLooper->Quit();
}
private:
BLooper *fLooper;