Fix scope for gcc4.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26283 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-07-06 20:23:25 +00:00
parent df709516a0
commit 1308815ba3

View File

@ -781,7 +781,7 @@ AudioProducer::_FillNextBuffer(bigtime_t eventTime)
realTime -= 2000;
// deliver event about one video frame earlier to account
// for latency between app_server and client
MessageEvent* event = new (nothrow) MessageEvent(realTime,
MessageEvent* event = new (std::nothrow) MessageEvent(realTime,
fPeakListener, message);
if (event != NULL)
EventQueue::Default().AddEvent(event);