mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Convert some push_back to emplace_back
This commit is contained in:
parent
3c6d1b47f6
commit
075a8a6548
8 changed files with 12 additions and 12 deletions
|
|
@ -51,7 +51,7 @@ _create(const Branches::Ptr &ibranches_,
|
|||
if(info.spaceavail < branch.minfreespace())
|
||||
error_and_continue(error,ENOSPC);
|
||||
|
||||
obranches_.push_back(&branch);
|
||||
obranches_.emplace_back(&branch);
|
||||
}
|
||||
|
||||
if(obranches_.empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue