summaryrefslogtreecommitdiffstats
path: root/benchmarks/include/file_util.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-04-23 13:24:27 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2024-04-23 13:24:27 -0400
commitfb08023dea10c9a7673ceb2c8ef67718937717b8 (patch)
tree9fdf22ff1e4f6bd6470fe3b6de347aca8b68dcc6 /benchmarks/include/file_util.h
parente65edcf4030afdaef6955f366fd29d7518aa7352 (diff)
downloaddynamic-extension-fb08023dea10c9a7673ceb2c8ef67718937717b8.tar.gz
benchmarks/file_util: removed dependency on framework in prep for ALEX
Diffstat (limited to 'benchmarks/include/file_util.h')
-rw-r--r--benchmarks/include/file_util.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/benchmarks/include/file_util.h b/benchmarks/include/file_util.h
index ea8b42e..8dc1b5f 100644
--- a/benchmarks/include/file_util.h
+++ b/benchmarks/include/file_util.h
@@ -8,9 +8,6 @@
#include <cstring>
#include <vector>
-#include "framework/interface/Record.h"
-#include "query/irs.h"
-
#pragma once
template <typename QP>
@@ -81,7 +78,7 @@ static std::vector<QP> read_knn_queries(std::string fname, size_t k) {
return queries;
}
-template<de::KVPInterface R>
+template<typename R>
static std::vector<R> read_sosd_file(std::string &fname, size_t n) {
std::fstream file;
file.open(fname, std::ios::in | std::ios::binary);