Fixed the SVACE issue in ExceptionFlinger.
[platform/core/uifw/dali-toolkit.git] / dali-scene-loader / public-api / utils.h
index 70009a2..1aace35 100644 (file)
@@ -67,9 +67,17 @@ public:
   }
 
 private:
+  struct Impl
+  {
+    const char* mLocation;
+
+    [[noreturn]]
+    ~Impl() noexcept(false);
+  };
+
   static char* GetMessageBuffer() noexcept(true);
 
-  const char* mLocation;
+  Impl mImpl;
   StreamBuffer mStreamBuffer;
   std::ostream mStream;
 };