diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-14 18:27:25 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-14 18:27:54 +0000 |
| commit | f4e6a36244b0838d4f28d44e09d983686d1bd597 (patch) | |
| tree | e4f98678c0d7ad1a1c1bb966263072ecb89a56b2 /src/lib/update_checker.h | |
| parent | b25fb46d830ec091fefd473a1bfe52b527a43eee (diff) | |
Fix various misbehaviours with update checking (#749).
Diffstat (limited to 'src/lib/update_checker.h')
| -rw-r--r-- | src/lib/update_checker.h | 8 |
1 files changed, 1 insertions, 7 deletions
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<std::string> 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<void (void)> StateChanged; |
