summaryrefslogtreecommitdiff
path: root/gtests/common
diff options
context:
space:
mode:
authorElio Maldonado <elio.maldonado.batiz@gmail.com>2017-10-20 09:44:08 -0700
committerElio Maldonado <elio.maldonado.batiz@gmail.com>2017-10-20 09:44:08 -0700
commitef6607df56627d6f037da65b0c5d6c9c416d1454 (patch)
treea1b937a400aabe757cb402bf9f77b947ef218e15 /gtests/common
parent270946428b184bd22fca63f9ff54a2469e515583 (diff)
downloadnss-hg-ef6607df56627d6f037da65b0c5d6c9c416d1454.tar.gz
Backed out changeset 6c4aced0b56b, r=bustage
Diffstat (limited to 'gtests/common')
-rw-r--r--gtests/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtests/common/util.h b/gtests/common/util.h
index 7ed1fd799..ccab5604e 100644
--- a/gtests/common/util.h
+++ b/gtests/common/util.h
@@ -10,7 +10,7 @@
#include <cassert>
#include <vector>
-static inline std::vector<uint8_t> hex_string_to_bytes(std::string s) {
+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));