diff options
author | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2017-08-12 07:04:30 -0400 |
---|---|---|
committer | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2017-08-14 13:28:06 -0400 |
commit | 21d281c4a953404c8f13e1cb7ee8d4cf9c25bb4c (patch) | |
tree | 2a4144fca78e6fc84efec7583297f6d8dcea9614 /platform/uwp | |
parent | 9575dbdf788e8a5154b3ec2f66913e731ac02850 (diff) |
Use const reference where favorable
Diffstat (limited to 'platform/uwp')
-rw-r--r-- | platform/uwp/export/export.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp index a1aa58a5e7..39717196aa 100644 --- a/platform/uwp/export/export.cpp +++ b/platform/uwp/export/export.cpp @@ -171,7 +171,7 @@ class AppxPackager { } Vector<uint8_t> make_file_header(FileMeta p_file_meta); - void store_central_dir_header(const FileMeta p_file, bool p_do_hash = true); + void store_central_dir_header(const FileMeta &p_file, bool p_do_hash = true); Vector<uint8_t> make_end_of_central_record(); String content_type(String p_extension); @@ -329,7 +329,7 @@ Vector<uint8_t> AppxPackager::make_file_header(FileMeta p_file_meta) { return buf; } -void AppxPackager::store_central_dir_header(const FileMeta p_file, bool p_do_hash) { +void AppxPackager::store_central_dir_header(const FileMeta &p_file, bool p_do_hash) { Vector<uint8_t> &buf = central_dir_data; int offs = buf.size(); |