diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-09-28 18:47:16 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-09-28 18:47:34 +0300 |
commit | 10d926cd4aae8b74e0b85d00d899643a0ff113cb (patch) | |
tree | 4665f30e954e8b6348859794096557cbbca90152 /source/blender/blenkernel/BKE_asset_catalog.hh | |
parent | 3acf3e9e2ff5bb8a93fcad2df925058d3e7ee748 (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.hh | 1 |
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; |