Change-Id: I26806b0f0d03b0047f19297fb6f9fe9bf2423fdf
Signed-off-by: seungho <sbsh.baek@samsung.com>
void Capture::Start(Dali::Actor source, const Dali::Vector2& position, const Dali::Vector2& size, const std::string& path, const Dali::Vector4& clearColor)
{
- DALI_ASSERT_ALWAYS(path.size() > 4 && "Path is invalid.");
-
// Increase the reference count focely to avoid application mistake.
Reference();
mPath = path;
- if(mPath.size() > 0)
+ if(!mPath.empty())
{
mFileSave = true;
}