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:
authorSybren A. Stüvel <sybren@blender.org>2021-09-28 18:47:16 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-09-28 18:47:34 +0300
commit10d926cd4aae8b74e0b85d00d899643a0ff113cb (patch)
tree4665f30e954e8b6348859794096557cbbca90152 /source/blender/blenkernel/BKE_asset_catalog.hh
parent3acf3e9e2ff5bb8a93fcad2df925058d3e7ee748 (diff)
Cleanup: asset catalogs, move file header definition to constant
Define the standard catalog definition file header in a constant, separating it from the function that writes the entire file. No functional changes.
Diffstat (limited to 'source/blender/blenkernel/BKE_asset_catalog.hh')
-rw-r--r--source/blender/blenkernel/BKE_asset_catalog.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_asset_catalog.hh b/source/blender/blenkernel/BKE_asset_catalog.hh
index cae476708cd..8e6aeec5204 100644
--- a/source/blender/blenkernel/BKE_asset_catalog.hh
+++ b/source/blender/blenkernel/BKE_asset_catalog.hh
@@ -231,6 +231,7 @@ class AssetCatalogDefinitionFile {
* Later versioning code may be added to handle older files. */
const static int SUPPORTED_VERSION;
const static std::string VERSION_MARKER;
+ const static std::string HEADER;
CatalogFilePath file_path;