commit 47ea2488c47c11f9b73223a4d6a3c19ea45e3301
parent 7df7efb0efecc54381bdcb78c16af34e08e0379c
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Mon, 4 Nov 2024 12:56:48 +0100
bump cache file version to force recreation due to OsTIrus change
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/source/jucePluginLib/patchdb/db.cpp b/source/jucePluginLib/patchdb/db.cpp
@@ -1804,7 +1804,7 @@ namespace pluginLib::patchDB
{
baseLib::BinaryStream inStream(data);
- auto stream = inStream.tryReadChunk(chunks::g_patchManager, 2);
+ auto stream = inStream.tryReadChunk(chunks::g_patchManager, chunkVersions::g_patchManager);
if(!stream)
return false;
@@ -2009,7 +2009,7 @@ namespace pluginLib::patchDB
std::shared_lock lockDS(m_dataSourcesMutex);
std::shared_lock lockP(m_patchesMutex);
- baseLib::ChunkWriter cw(outStream, chunks::g_patchManager, 2);
+ baseLib::ChunkWriter cw(outStream, chunks::g_patchManager, chunkVersions::g_patchManager);
{
baseLib::ChunkWriter cwDS(outStream, chunks::g_patchManagerDataSources, 1);
diff --git a/source/jucePluginLib/patchdb/patchdbtypes.h b/source/jucePluginLib/patchdb/patchdbtypes.h
@@ -94,4 +94,9 @@ namespace pluginLib::patchDB
constexpr char g_typedTags[] = "TpTg";
constexpr char g_tags[] = "Tags";
}
+
+ namespace chunkVersions
+ {
+ constexpr uint32_t g_patchManager = 3;
+ }
}