Ensure BaseHandle class move noexcept (core public-api)
[platform/core/uifw/dali-core.git] / dali / public-api / object / handle.cpp
index ecac036..45f8fcd 100644 (file)
@@ -46,9 +46,9 @@ Handle::Handle(const Handle& handle) = default;
 
 Handle& Handle::operator=(const Handle& rhs) = default;
 
-Handle::Handle(Handle&& rhs) = default;
+Handle::Handle(Handle&& rhs) noexcept = default;
 
-Handle& Handle::operator=(Handle&& rhs) = default;
+Handle& Handle::operator=(Handle&& rhs) noexcept = default;
 
 Handle Handle::DownCast(BaseHandle handle)
 {
@@ -100,6 +100,11 @@ void Handle::SetProperty(Property::Index index, Property::Value propertyValue)
   GetImplementation(*this).SetProperty(index, std::move(propertyValue));
 }
 
+void Handle::ReserveCustomProperties(int propertyCount)
+{
+  GetImplementation(*this).ReserveCustomProperties(propertyCount);
+}
+
 Property::Index Handle::RegisterProperty(std::string_view name, Property::Value propertyValue)
 {
   return GetImplementation(*this).RegisterProperty(name, std::move(propertyValue));