diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-10-01 11:58:33 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-10-01 11:58:33 +0300 |
commit | ae4b45145c8b61199e7fe3d3b862cf473fe5769e (patch) | |
tree | 21634ef99e28ace1c1f18647e1177a2753f4b0ec | |
parent | 2e6c6426d3662302e7a9832d59f4d3bf20bf1ef2 (diff) |
Cleanup: Asset Catalog Paths, move default constructor to header file
No functional changes.
-rw-r--r-- | source/blender/blenkernel/BKE_asset_catalog_path.hh | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/asset_catalog_path.cc | 2 |
2 files changed, 1 insertions, 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_)) { |