From ae4b45145c8b61199e7fe3d3b862cf473fe5769e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 1 Oct 2021 10:58:33 +0200 Subject: [PATCH] Cleanup: Asset Catalog Paths, move default constructor to header file No functional changes. --- source/blender/blenkernel/BKE_asset_catalog_path.hh | 2 +- source/blender/blenkernel/intern/asset_catalog_path.cc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/source/blender/blenkernel/BKE_asset_catalog_path.hh b/source/blender/blenkernel/BKE_asset_catalog_path.hh index b150f805ed5..68b9e943e94 100644 --- a/source/blender/blenkernel/BKE_asset_catalog_path.hh +++ b/source/blender/blenkernel/BKE_asset_catalog_path.hh @@ -65,7 +65,7 @@ class AssetCatalogPath { AssetCatalogPath(StringRef path); AssetCatalogPath(const std::string &path); AssetCatalogPath(const char *path); - AssetCatalogPath(const AssetCatalogPath &other_path); + AssetCatalogPath(const AssetCatalogPath &other_path) = default; AssetCatalogPath(AssetCatalogPath &&other_path) noexcept; ~AssetCatalogPath() = default; diff --git a/source/blender/blenkernel/intern/asset_catalog_path.cc b/source/blender/blenkernel/intern/asset_catalog_path.cc index 022bceb133e..689a572f80b 100644 --- a/source/blender/blenkernel/intern/asset_catalog_path.cc +++ b/source/blender/blenkernel/intern/asset_catalog_path.cc @@ -38,8 +38,6 @@ AssetCatalogPath::AssetCatalogPath(const char *path) : path_(path) { } -AssetCatalogPath::AssetCatalogPath(const AssetCatalogPath &other_path) = default; - AssetCatalogPath::AssetCatalogPath(AssetCatalogPath &&other_path) noexcept : path_(std::move(other_path.path_)) {