archive fix

This commit is contained in:
Turánszki János
2024-08-01 09:23:07 +02:00
parent b343932652
commit c19105a8af
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -258,8 +258,9 @@ namespace wi
inline Archive& operator<<(const wi::Archive& other)
{
// Here we will use the << operator so that non-specified types will have compile error!
// Note: version is skipped, only data is appended
for (size_t i = sizeof(version); i < other.pos; ++i)
// Note: version and thumbnail data is skipped, only data is appended
const size_t start = sizeof(uint64_t) * 2; // version and thumbnail size
for (size_t i = start; i < other.pos; ++i)
{
(*this) << other.data_ptr[i];
}
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 528;
const int revision = 529;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);