vector/helper: let VGradientCache has perfect singletone interface.
authorHermet Park <hermetpark@gmail.com>
Tue, 17 Sep 2019 10:53:42 +0000 (19:53 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 22 Sep 2019 21:53:45 +0000 (06:53 +0900)
src/vector/vdrawhelper.cpp

index d6fa3d1..e3ae7a8 100644 (file)
@@ -135,6 +135,9 @@ protected:
         return cache_entry;
     }
 
+private:
+    VGradientCache() = default;
+
     VGradientColorTableHash mCache;
     std::mutex              mMutex;
 };