File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ namespace core
203
203
using ConfigureStoreChunkFromBuffer<
204
204
Ptr_Type>::ConfigureStoreChunkFromBuffer;
205
205
206
- auto enqueueLoad () -> void;
206
+ auto enqueueLoad () -> auxiliary::DeferredComputation< void> ;
207
207
208
208
auto load (EnqueuePolicy) -> void;
209
209
};
Original file line number Diff line number Diff line change @@ -237,7 +237,8 @@ namespace core
237
237
}
238
238
239
239
template <typename Ptr_Type>
240
- auto ConfigureLoadStoreFromBuffer<Ptr_Type>::enqueueLoad() -> void
240
+ auto ConfigureLoadStoreFromBuffer<Ptr_Type>::enqueueLoad()
241
+ -> auxiliary::DeferredComputation<void >
241
242
{
242
243
static_assert (
243
244
std::is_same_v<
@@ -249,6 +250,10 @@ namespace core
249
250
" shared_ptr type." );
250
251
this ->m_rc .loadChunk_impl (
251
252
std::move (this ->m_buffer ), this ->storeChunkConfig ());
253
+ return auxiliary::DeferredComputation<void >(
254
+ [rc_lambda = this ->m_rc ]() mutable -> void {
255
+ rc_lambda.seriesFlush ();
256
+ });
252
257
}
253
258
254
259
template <typename Ptr_Type>
You can’t perform that action at this time.
0 commit comments