[Libreoffice-commits] core.git: include/opencl

Tor Lillqvist tml at collabora.com
Fri Aug 12 13:16:48 UTC 2016


 include/opencl/OpenCLZone.hxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit b9898f03eb05411c508b1b02588812074d40417a
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Aug 12 15:56:52 2016 +0300

    The enter() and leave() functions are not used anywhere
    
    Change-Id: I42d2d6a12d49fc60c625dc2d230f70d05cf67673

diff --git a/include/opencl/OpenCLZone.hxx b/include/opencl/OpenCLZone.hxx
index 1fbc666..eca530a 100644
--- a/include/opencl/OpenCLZone.hxx
+++ b/include/opencl/OpenCLZone.hxx
@@ -20,14 +20,6 @@ class OPENCL_DLLPUBLIC OpenCLZone
     /// how many times have we left a new CL zone
     static volatile sal_uInt64 gnLeaveCount;
 
-    static void enter()
-    {
-        gnEnterCount++;
-    }
-    static void leave()
-    {
-        gnLeaveCount--;
-    }
 public:
     OpenCLZone()
     {


More information about the Libreoffice-commits mailing list