Skip to content

Commit 4ee5c99

Browse files
authored
Update util.h
1 parent a50219b commit 4ee5c99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/util.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,10 @@ std::string HexStr(const T itbegin, const T itend, bool fSpaces=false)
376376
}
377377

378378
template<typename T>
379-
inline std::string HexStr(const T& vch, bool fSpaces=false)
379+
void skipspaces(T& it)
380380
{
381-
return HexStr(vch.begin(), vch.end(), fSpaces);
381+
while (isspace(*it))
382+
++it;
382383
}
383384

384385
inline int64_t GetPerformanceCounter()

0 commit comments

Comments
 (0)