Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoload of striped images #95

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
3 changes: 1 addition & 2 deletions aff4/aff4_imager_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ AFF4Status BasicImager::handle_aff4_volumes() {
AFF4Flusher<AFF4Stream>(backing_stream.release()),
volume));

volume_objs.AddVolume(
std::move(AFF4Flusher<AFF4Volume>(volume.release())));
volume_objs.AddVolume(std::move(AFF4Flusher<AFF4Volume>(volume.release())));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the std::move from this call, it's not needed and will stop automatic copy elision

volume_objs.AddSearchPath(volume_to_load);
}
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.