diff --git a/include/crucible/time.h b/include/crucible/time.h index 024cf76..b806a7d 100644 --- a/include/crucible/time.h +++ b/include/crucible/time.h @@ -19,8 +19,6 @@ namespace crucible { double age() const; double report(int precision = 1000) const; void reset(); - void set(const chrono::high_resolution_clock::time_point &start); - void set(double delta); double lap(); bool operator<(double d) const; bool operator>(double d) const; diff --git a/lib/time.cc b/lib/time.cc index 7e19343..8cc783b 100644 --- a/lib/time.cc +++ b/lib/time.cc @@ -59,18 +59,6 @@ namespace crucible { m_start = chrono::high_resolution_clock::now(); } - void - Timer::set(const chrono::high_resolution_clock::time_point &start) - { - m_start = start; - } - - void - Timer::set(double delta) - { - m_start += chrono::duration_cast(chrono::duration(delta)); - } - double Timer::lap() {