mirror of
https://github.com/monero-project/monero.git
synced 2026-07-30 23:50:24 -07:00
Factor out move_it_backward from misc_language.h
Relevant commit from old PR:
330df2952c
This commit is contained in:
@@ -37,15 +37,7 @@ namespace epee
|
||||
|
||||
namespace misc_utils
|
||||
{
|
||||
template<typename t_iterator>
|
||||
t_iterator move_it_backward(t_iterator it, size_t count)
|
||||
{
|
||||
while(count--)
|
||||
it--;
|
||||
return it;
|
||||
}
|
||||
|
||||
bool sleep_no_w(long ms );
|
||||
bool sleep_no_w(long ms);
|
||||
|
||||
template <typename T>
|
||||
T get_mid(const T &a, const T &b)
|
||||
|
||||
Reference in New Issue
Block a user