aboutsummaryrefslogtreecommitdiff
path: root/src/common/hex_util.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-01 17:17:08 -0400
committerZach Hilman <zachhilman@gmail.com>2018-10-04 11:34:36 -0400
commit70bd2bb1d3aec23fc052c9612f9e530c1a2de72d (patch)
tree309d313d8182778919cafff884fd962267d2b38c /src/common/hex_util.h
parent9669cdb710e3242b7c0b705ea613587d36f79e00 (diff)
ips_layer: Deduplicate resource usage
Diffstat (limited to 'src/common/hex_util.h')
-rw-r--r--src/common/hex_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/hex_util.h b/src/common/hex_util.h
index 0b7d3592a..68f003cb6 100644
--- a/src/common/hex_util.h
+++ b/src/common/hex_util.h
@@ -30,7 +30,7 @@ std::array<u8, Size> HexStringToArray(std::string_view str) {
return out;
}
-std::string HexVectorToString(std::vector<u8> vector, bool upper = true);
+std::string HexVectorToString(const std::vector<u8>& vector, bool upper = true);
template <std::size_t Size>
std::string HexArrayToString(std::array<u8, Size> array, bool upper = true) {