aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/math_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/epee/include/math_helper.h')
-rw-r--r--contrib/epee/include/math_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/epee/include/math_helper.h b/contrib/epee/include/math_helper.h
index ddc1f7f4b..604a04680 100644
--- a/contrib/epee/include/math_helper.h
+++ b/contrib/epee/include/math_helper.h
@@ -259,6 +259,11 @@ namespace math_helper
m_last_worked_time = get_time();
}
+ void trigger()
+ {
+ m_last_worked_time = 0;
+ }
+
template<class functor_t>
bool do_call(functor_t functr)
{