diff --git a/dbpf-recompress.cpp b/dbpf-recompress.cpp index 4f3e2e0..81fe646 100644 --- a/dbpf-recompress.cpp +++ b/dbpf-recompress.cpp @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) { bool all_entries_compressed = true; bool compression_can_improve = false; - for(auto entry: package.entries) { + for(auto& entry: package.entries) { if(!entry.compressed) { all_entries_compressed = false; break;