Skip to content

Commit

Permalink
Fix archive version to v0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
FMassin committed Apr 21, 2024
1 parent a70c239 commit 85c1b4b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libs/seiscomp/datamodel/vs/envelope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ bool Envelope::removeEnvelopeChannel(size_t i) {
void Envelope::serialize(Archive& ar) {
// Do not read/write if the archive's version is higher than
// currently supported
if ( ar.isHigherVersion<0,12>() ) {
if ( ar.isHigherVersion<0,15>() ) {
SEISCOMP_ERROR("Archive version %d.%d too high: Envelope skipped",
ar.versionMajor(), ar.versionMinor());
ar.setValidity(false);
Expand Down
2 changes: 1 addition & 1 deletion libs/seiscomp/datamodel/vs/envelopechannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ bool EnvelopeChannel::removeEnvelopeValue(size_t i) {
void EnvelopeChannel::serialize(Archive& ar) {
// Do not read/write if the archive's version is higher than
// currently supported
if ( ar.isHigherVersion<0,12>() ) {
if ( ar.isHigherVersion<0,15>() ) {
SEISCOMP_ERROR("Archive version %d.%d too high: EnvelopeChannel skipped",
ar.versionMajor(), ar.versionMinor());
ar.setValidity(false);
Expand Down
2 changes: 1 addition & 1 deletion libs/seiscomp/datamodel/vs/envelopevalue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ void EnvelopeValue::accept(Visitor* visitor) {
void EnvelopeValue::serialize(Archive& ar) {
// Do not read/write if the archive's version is higher than
// currently supported
if ( ar.isHigherVersion<0,12>() ) {
if ( ar.isHigherVersion<0,15>() ) {
SEISCOMP_ERROR("Archive version %d.%d too high: EnvelopeValue skipped",
ar.versionMajor(), ar.versionMinor());
ar.setValidity(false);
Expand Down
2 changes: 1 addition & 1 deletion libs/seiscomp/datamodel/vs/vs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ bool VS::removeEnvelope(size_t i) {
void VS::serialize(Archive& ar) {
// Do not read/write if the archive's version is higher than
// currently supported
if ( ar.isHigherVersion<0,12>() ) {
if ( ar.isHigherVersion<0,15>() ) {
SEISCOMP_ERROR("Archive version %d.%d too high: VS skipped",
ar.versionMajor(), ar.versionMinor());
ar.setValidity(false);
Expand Down

0 comments on commit 85c1b4b

Please sign in to comment.