Browse Source

Merge pull request #1399 from Dmitry-Me/missingReturnInAssignment

UI: Add missing return statement
Jim 7 years ago
parent
commit
a7a2f21448
1 changed files with 2 additions and 0 deletions
  1. 2 0
      UI/win-update/updater/updater.cpp

+ 2 - 0
UI/win-update/updater/updater.cpp

@@ -324,6 +324,8 @@ struct update_t {
 		memcpy(hash, from.hash, sizeof(hash));
 		memcpy(downloadhash, from.downloadhash, sizeof(downloadhash));
 		memcpy(my_hash, from.my_hash, sizeof(my_hash));
+
+		return *this;
 	}
 };