Skip to content

Commit

Permalink
Zarr: use std::move()
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Feb 16, 2025
1 parent 64e4d4b commit af5e6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frmts/zarr/zarr_v3_codec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ bool ZarrV3CodecSequence::InitFromJson(const CPLJSONObject &oCodecs)
poEndianCodec->InitFromConfiguration(
ZarrV3CodecBytes::GetConfiguration(true), oInputArrayMetadata,
oOutputArrayMetadata);
oInputArrayMetadata = oOutputArrayMetadata;
oInputArrayMetadata = std::move(oOutputArrayMetadata);
eLastType = poEndianCodec->GetOutputType();
osLastCodec = poEndianCodec->GetName();
#if !CPL_IS_LSB
Expand Down

0 comments on commit af5e6c2

Please sign in to comment.