summaryrefslogtreecommitdiffstats
path: root/security/nss/gtests/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/gtests/common/util.h')
-rw-r--r--security/nss/gtests/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/gtests/common/util.h b/security/nss/gtests/common/util.h
index ccab5604e..7ed1fd799 100644
--- a/security/nss/gtests/common/util.h
+++ b/security/nss/gtests/common/util.h
@@ -10,7 +10,7 @@
#include <cassert>
#include <vector>
-std::vector<uint8_t> hex_string_to_bytes(std::string s) {
+static inline std::vector<uint8_t> hex_string_to_bytes(std::string s) {
std::vector<uint8_t> bytes;
for (size_t i = 0; i < s.length(); i += 2) {
bytes.push_back(std::stoul(s.substr(i, 2), nullptr, 16));