remove temporary code after resolving the dependency 49/261449/2
authorHermet Park <chuneon.park@samsung.com>
Mon, 19 Jul 2021 08:15:08 +0000 (17:15 +0900)
committerHermet Park <chuneon.park@samsung.com>
Thu, 29 Jul 2021 02:51:35 +0000 (02:51 +0000)
Change-Id: I48261134861299c9fd6fbe7dd4f729dcbf400b15

inc/thorvg.h
src/lib/tvgPicture.cpp

index 3edaeb5..25ecff0 100644 (file)
@@ -1016,8 +1016,7 @@ public:
      *
      * @warning: you have responsibility to release the @p data memory if the @p copy is true
      */
-    Result load(const char* data, uint32_t size, bool copy) noexcept;
-    Result load(const char* data, uint32_t size) noexcept;
+    Result load(const char* data, uint32_t size, bool copy = false) noexcept;
 
     /**
      * @brief Resize the picture content with the given width and height.
index 5a26e29..ed4d227 100644 (file)
@@ -61,12 +61,6 @@ Result Picture::load(const char* data, uint32_t size, bool copy) noexcept
 }
 
 
-Result Picture::load(const char* data, uint32_t size) noexcept
-{
-    return pImpl->load(data, size, false);
-}
-
-
 Result Picture::load(uint32_t* data, uint32_t w, uint32_t h, bool copy) noexcept
 {
     if (!data || w <= 0 || h <= 0) return Result::InvalidArguments;