Make Impl as unique_ptr, so we don't need to make
Dali::Toolkit::Text::Controller::~Controller as virtual
Change-Id: I010ec8d315670ead0c7f679299c500033f3ad7f6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Controller::~Controller()
{
- delete mImpl;
}
} // namespace Dali::Toolkit::Text
#define DALI_TOOLKIT_TEXT_CONTROLLER_H
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
struct TextUpdater;
struct SpannableHandler;
- Impl* mImpl;
+ std::unique_ptr<Impl> mImpl;
};
} // namespace Dali::Toolkit::Text