diff --git a/Source/DataStructureAndEncodingDefinition/gdcmByteSwapFilter.cxx b/Source/DataStructureAndEncodingDefinition/gdcmByteSwapFilter.cxx index 7b1508f7f..fece7905a 100644 --- a/Source/DataStructureAndEncodingDefinition/gdcmByteSwapFilter.cxx +++ b/Source/DataStructureAndEncodingDefinition/gdcmByteSwapFilter.cxx @@ -135,7 +135,6 @@ bool ByteSwapFilter::ByteSwap() de.SetTag( Tag( SwapperDoOp::Swap( tag.GetGroup() ), SwapperDoOp::Swap( tag.GetElement() ) ) ); copy.Insert( de ); - DS.Remove( de.GetTag() ); } DS = copy; }