aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/libstate.h1
-rw-r--r--src/libstate.cpp9
2 files changed, 0 insertions, 10 deletions
diff --git a/include/libstate.h b/include/libstate.h
index 49f1c1b0f..312d68873 100644
--- a/include/libstate.h
+++ b/include/libstate.h
@@ -55,7 +55,6 @@ class Library_State
void add_entropy(EntropySource&, bool);
u32bit seed_prng(bool, u32bit);
- void set_timer(class Timer*);
u64bit system_clock() const;
class Config& config() const;
diff --git a/src/libstate.cpp b/src/libstate.cpp
index 7a742b468..12f017ed4 100644
--- a/src/libstate.cpp
+++ b/src/libstate.cpp
@@ -123,15 +123,6 @@ void Library_State::set_default_allocator(const std::string& type) const
}
/*************************************************
-* Set the high resolution clock implementation *
-*************************************************/
-void Library_State::set_timer(Timer* new_timer)
- {
- delete timer;
- timer = new_timer;
- }
-
-/*************************************************
* Read a high resolution clock *
*************************************************/
u64bit Library_State::system_clock() const