You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int status = this->CalculatePath(start, end, request.path, request.totalCost, digStrength);
218
+
int status = this->CalculatePath(start, end, request.path, request.totalCost, digStrength);
219
219
220
-
request.status = status;
221
-
request.pathLength = request.path.size();
220
+
request.status = status;
221
+
request.pathLength = request.path.size();
222
222
223
-
if (callback) {
224
-
callback(volRequest);
225
-
}
223
+
if (callback) {
224
+
callback(volRequest);
225
+
}
226
226
227
-
// Have to set to complete after the callback, so anything that blocks on it knows that the callback will have been called by now
228
-
// This has the awkward side-effect that the complete flag is actually false during the callback - but that's fine, if it's called we know it's complete anyways
229
-
request.complete = true;
230
-
},
227
+
// Have to set to complete after the callback, so anything that blocks on it knows that the callback will have been called by now
228
+
// This has the awkward side-effect that the complete flag is actually false during the callback - but that's fine, if it's called we know it's complete anyways
0 commit comments