NetworkRequest onError now uses NetworkResult

This commit is contained in:
fourtf
2019-09-19 19:03:50 +02:00
parent 986694e4bc
commit 758a6bb41c
10 changed files with 60 additions and 72 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ void Image::actuallyLoad()
return Success;
})
.onError([weak = weakOf(this)](auto /*result*/) -> bool {
.onError([weak = weakOf(this)](auto /*result*/) {
auto shared = weak.lock();
if (!shared)
return false;