Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-11-10 00:33:53 +0300
committerJulian Eisel <julian@blender.org>2022-11-10 00:37:49 +0300
commitb8fc7ed994049570da9d00589e2a952839670b73 (patch)
tree083e44f5bbb912988a91c16003a64b50ebff6812
parent4cd9e9991ca5a5556d2862cab3b9840774a430b2 (diff)
Fix incorrect forward declarations, causing warnings on Windows
-rw-r--r--source/blender/blenkernel/BKE_asset_library.hh2
-rw-r--r--source/blender/blenkernel/BKE_asset_representation.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_asset_library.hh b/source/blender/blenkernel/BKE_asset_library.hh
index e4ad5b78c43..f69847bd1ed 100644
--- a/source/blender/blenkernel/BKE_asset_library.hh
+++ b/source/blender/blenkernel/BKE_asset_library.hh
@@ -27,7 +27,7 @@ struct Main;
namespace blender::bke {
-struct AssetRepresentation;
+class AssetRepresentation;
/**
* AssetLibrary provides access to an asset library's data.
diff --git a/source/blender/blenkernel/BKE_asset_representation.hh b/source/blender/blenkernel/BKE_asset_representation.hh
index 4de63473113..edaa5a203ba 100644
--- a/source/blender/blenkernel/BKE_asset_representation.hh
+++ b/source/blender/blenkernel/BKE_asset_representation.hh
@@ -22,7 +22,7 @@ namespace blender::bke {
* https://wiki.blender.org/wiki/Source/Architecture/Asset_System/Back_End#Asset_Representation
*/
class AssetRepresentation {
- friend class AssetLibrary;
+ friend struct AssetLibrary;
struct ExternalAsset {
std::string name;