Change type size_t->int64_t

This commit is contained in:
jeremy 2022-11-30 16:56:35 +01:00
parent b0b8c0a5c9
commit 9f9a81455f
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ namespace memgraph::query::v2 {
// static_assert(std::forward_iterator<InvalidFramesPopulator::Iterator> &&
// std::equality_comparable<InvalidFramesPopulator::Iterator>);
MultiFrame::MultiFrame(size_t size_of_frame, size_t number_of_frames, utils::MemoryResource *execution_memory)
MultiFrame::MultiFrame(int64_t size_of_frame, size_t number_of_frames, utils::MemoryResource *execution_memory)
: frames_(utils::pmr::vector<FrameWithValidity>(
number_of_frames, FrameWithValidity(size_of_frame, execution_memory), execution_memory)) {
MG_ASSERT(number_of_frames > 0);

View File

@ -30,7 +30,7 @@ class MultiFrame {
friend class ValidFramesReader;
friend class InvalidFramesPopulator;
MultiFrame(size_t size_of_frame, size_t number_of_frames, utils::MemoryResource *execution_memory);
MultiFrame(int64_t size_of_frame, size_t number_of_frames, utils::MemoryResource *execution_memory);
~MultiFrame() = default;
MultiFrame(const MultiFrame &other); // copy constructor