Skip to content

Commit

Permalink
Update util.h
Browse files Browse the repository at this point in the history
  • Loading branch information
vashshawn authored Apr 13, 2024
1 parent a50219b commit 4ee5c99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,10 @@ std::string HexStr(const T itbegin, const T itend, bool fSpaces=false)
}

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

inline int64_t GetPerformanceCounter()
Expand Down

0 comments on commit 4ee5c99

Please sign in to comment.