From ff1b6201b305b02a97a5b32bbf07bf35bccd336b Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Fri, 12 Mar 2010 17:35:11 +0000 Subject: [PATCH] IsParallelAccessLocked() is defined as a debug-only conditional in the header. Fixes the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35827 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/BitmapDrawingEngine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/servers/app/BitmapDrawingEngine.cpp b/src/servers/app/BitmapDrawingEngine.cpp index 6927842b50..14bcd31814 100644 --- a/src/servers/app/BitmapDrawingEngine.cpp +++ b/src/servers/app/BitmapDrawingEngine.cpp @@ -18,6 +18,7 @@ BitmapDrawingEngine::~BitmapDrawingEngine() } +#if DEBUG bool BitmapDrawingEngine::IsParallelAccessLocked() const { @@ -25,7 +26,7 @@ BitmapDrawingEngine::IsParallelAccessLocked() const // attached to, so we never need to be locked. return true; } - +#endif bool BitmapDrawingEngine::IsExclusiveAccessLocked() const