mirror of
https://github.com/Zygo/bees.git
synced 2025-06-16 17:46:16 +02:00
time: drop unused Timer methods
Timer::set(double d) in particular seems...wrong. Nothing uses them, so don't bother to fix them. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
12
lib/time.cc
12
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::high_resolution_clock::duration>(chrono::duration<double>(delta));
|
||||
}
|
||||
|
||||
double
|
||||
Timer::lap()
|
||||
{
|
||||
|
Reference in New Issue
Block a user