summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/Task.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-02-07 10:56:52 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2024-02-07 10:56:52 -0500
commit10b4425e842d10b7fbfa85978969ed4591d6b98e (patch)
tree5918d1845f71aa0db7981e894c83f8d8252cd102 /include/framework/scheduling/Task.h
parent0ff3cedf5df9c27bccd3053ce6339e317f87ff76 (diff)
downloaddynamic-extension-10b4425e842d10b7fbfa85978969ed4591d6b98e.tar.gz
Fully implemented Query concept and adjusted queries to use it
Diffstat (limited to 'include/framework/scheduling/Task.h')
-rw-r--r--include/framework/scheduling/Task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/framework/scheduling/Task.h b/include/framework/scheduling/Task.h
index 6f6b913..ba0001d 100644
--- a/include/framework/scheduling/Task.h
+++ b/include/framework/scheduling/Task.h
@@ -18,7 +18,7 @@
namespace de {
-template <RecordInterface R, ShardInterface S, QueryInterface Q, LayoutPolicy L>
+template <RecordInterface R, ShardInterface S, QueryInterface<R, S> Q, LayoutPolicy L>
struct ReconstructionArgs {
Epoch<R, S, Q, L> *epoch;
std::vector<ReconstructionTask> merges;
@@ -27,7 +27,7 @@ struct ReconstructionArgs {
void *extension;
};
-template <RecordInterface R, ShardInterface S, QueryInterface Q, LayoutPolicy L>
+template <RecordInterface R, ShardInterface S, QueryInterface<R, S> Q, LayoutPolicy L>
struct QueryArgs {
std::promise<std::vector<R>> result_set;
void *query_parms;