summaryrefslogtreecommitdiffstats
path: root/include/shard/PGM.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shard/PGM.h')
-rw-r--r--include/shard/PGM.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/shard/PGM.h b/include/shard/PGM.h
index 509796b..7d1f492 100644
--- a/include/shard/PGM.h
+++ b/include/shard/PGM.h
@@ -33,6 +33,8 @@ namespace de {
template <RecordInterface R, size_t epsilon=128>
class PGM {
+public:
+ typedef R RECORD;
private:
typedef decltype(R::key) K;
typedef decltype(R::value) V;
@@ -109,7 +111,7 @@ public:
}
}
- PGM(std::vector<PGM*> shards)
+ PGM(std::vector<PGM*> const &shards)
: m_data(nullptr)
, m_bf(nullptr)
, m_reccnt(0)