aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJeffrey <jeffryan@tamu.edu>2022-03-07 20:49:19 -0600
committerJeffrey <jeffryan@tamu.edu>2022-04-18 09:55:21 -0500
commit1f25aa27c5cf83afd8e332bd5fe84c88c3dd7ffd (patch)
tree42f45ab350bcf55cdd99c829b64ad9fdc5346220 /contrib
parentMove copyable_atomic into connection_context (diff)
downloadmonero-1f25aa27c5cf83afd8e332bd5fe84c88c3dd7ffd.tar.xz
Factor out move_it_backward from misc_language.h
Relevant commit from old PR: 330df2952cb2863a591158b984c0fb7f652887ac
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/include/misc_language.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/contrib/epee/include/misc_language.h b/contrib/epee/include/misc_language.h
index bf75da23f..ee07bbe8f 100644
--- a/contrib/epee/include/misc_language.h
+++ b/contrib/epee/include/misc_language.h
@@ -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)