diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 11:01:05 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 11:01:07 -0400 |
commit | 6c1ba02e0cacfd66cf36d40a4b0f9794bc2ca26e (patch) | |
tree | 63998475a888bfdfb0a0c1f1aabcc903fd8b6f95 /src/common/file_util.h | |
parent | 3e9b79e088223459891ed07a747c411a6a8921d3 (diff) |
fsp_srv: Remove unnecessary vector construction in IFile's Write() function
We can avoid constructing a std::vector here by simply passing a pointer
to the original data and the size of the copy we wish to perform to the
backend's Write() function instead, avoiding copying the data where it's
otherwise not needed.
Diffstat (limited to 'src/common/file_util.h')
0 files changed, 0 insertions, 0 deletions