Ensure BaseHandle class move noexcept (core public-api)
[platform/core/uifw/dali-core.git] / dali / public-api / actors / layer.cpp
index 1f1be7c..2f19079 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
@@ -23,8 +23,6 @@
 
 namespace Dali
 {
-using Dali::Layer;
-
 Layer::Layer() = default;
 
 Layer Layer::New()
@@ -45,9 +43,9 @@ Layer::Layer(const Layer& copy) = default;
 
 Layer& Layer::operator=(const Layer& rhs) = default;
 
-Layer::Layer(Layer&& rhs) = default;
+Layer::Layer(Layer&& rhs) noexcept = default;
 
-Layer& Layer::operator=(Layer&& rhs) = default;
+Layer& Layer::operator=(Layer&& rhs) noexcept = default;
 
 void Layer::Raise()
 {