Don't pass Worker& around so much

This commit is contained in:
John Firebaugh
2015-06-09 10:08:20 -04:00
parent abdf205510
commit db1202e8e3
8 changed files with 30 additions and 33 deletions

View File

@@ -24,7 +24,7 @@ LiveTileData::~LiveTileData() {
cancel();
}
bool LiveTileData::reparse(Worker& worker, std::function<void()> callback) {
bool LiveTileData::reparse(std::function<void()> callback) {
if (parsing || (state != State::loaded && state != State::partial)) {
return false;
}