/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
{
}
-Path::Path(const Path& handle)
-:Handle(handle)
-{
-}
+Path::Path(const Path& handle) = default;
Path::Path(Internal::Path* internal)
: Handle(internal)
{
}
-Path& Path::operator=(const Path& rhs)
-{
- BaseHandle::operator=(rhs);
- return *this;
-}
+Path& Path::operator=(const Path& rhs) = default;
+
+Path::Path( Path&& rhs ) = default;
+
+Path& Path::operator=( Path&& rhs ) = default;
void Path::AddPoint(const Vector3& point )
{
Vector3& Path::GetPoint( size_t index )
{
- return GetImplementation(*this).GetPoint(index);
+ return GetImplementation(*this).GetPoint( static_cast<uint32_t>( index ) );
}
Vector3& Path::GetControlPoint( size_t index )
{
- return GetImplementation(*this).GetControlPoint(index);
+ return GetImplementation(*this).GetControlPoint( static_cast<uint32_t>( index ) );
}
size_t Path::GetPointCount() const