diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2018-10-01 17:17:08 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-04 11:34:36 -0400 |
| commit | c60739016dffe911f79ed5914197e50e69c996d8 (patch) | |
| tree | 309d313d8182778919cafff884fd962267d2b38c /src/common/hex_util.cpp | |
| parent | 8593274f69fb04bd13e6008aeb464c96a4ebc0f8 (diff) | |
ips_layer: Deduplicate resource usage
Diffstat (limited to 'src/common/hex_util.cpp')
| -rw-r--r-- | src/common/hex_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/hex_util.cpp b/src/common/hex_util.cpp index e516e5bbdc..5b63f9e819 100644 --- a/src/common/hex_util.cpp +++ b/src/common/hex_util.cpp @@ -30,7 +30,7 @@ std::vector<u8> HexStringToVector(std::string_view str, bool little_endian) { return out; } -std::string HexVectorToString(std::vector<u8> vector, bool upper) { +std::string HexVectorToString(const std::vector<u8>& vector, bool upper) { std::string out; for (u8 c : vector) out += fmt::format(upper ? "{:02X}" : "{:02x}", c); |
