From f4e6a36244b0838d4f28d44e09d983686d1bd597 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 14 Nov 2015 18:27:25 +0000 Subject: Fix various misbehaviours with update checking (#749). --- src/lib/update_checker.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib/update_checker.h') diff --git a/src/lib/update_checker.h b/src/lib/update_checker.h index b0eb62273..ff1999810 100644 --- a/src/lib/update_checker.h +++ b/src/lib/update_checker.h @@ -57,18 +57,12 @@ public: return _stable; } - /** @return new test version, if there is one and Config is set to look for it */ + /** @return new test version, if there is one */ boost::optional test () { boost::mutex::scoped_lock lm (_data_mutex); return _test; } - /** @return true if the last signal emission was the first */ - bool last_emit_was_first () const { - boost::mutex::scoped_lock lm (_data_mutex); - return _emits == 1; - } - size_t write_callback (void *, size_t, size_t); boost::signals2::signal StateChanged; -- cgit v1.2.3