[haiku-commits] r35827 - haiku/trunk/src/servers/app

Author: mmadia
Date: 2010-03-12 18:35:11 +0100 (Fri, 12 Mar 2010)
New Revision: 35827
Changeset: http://dev.haiku-os.org/changeset/35827/haiku

Modified:
   haiku/trunk/src/servers/app/BitmapDrawingEngine.cpp
Log:
IsParallelAccessLocked() is defined as a debug-only conditional in the header.
Fixes the build.


Modified: haiku/trunk/src/servers/app/BitmapDrawingEngine.cpp
===================================================================
--- haiku/trunk/src/servers/app/BitmapDrawingEngine.cpp 2010-03-12 17:09:36 UTC 
(rev 35826)
+++ haiku/trunk/src/servers/app/BitmapDrawingEngine.cpp 2010-03-12 17:35:11 UTC 
(rev 35827)
@@ -18,6 +18,7 @@
 }
 
 
+#if DEBUG
 bool
 BitmapDrawingEngine::IsParallelAccessLocked() const
 {
@@ -25,8 +26,8 @@
        // attached to, so we never need to be locked.
        return true;
 }
+#endif
 
-
 bool
 BitmapDrawingEngine::IsExclusiveAccessLocked() const
 {


Other related posts: