archive fix
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user