Skip to content

Commit

Permalink
update stand-in cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
connortsui20 committed Aug 28, 2024
1 parent 3dd1a88 commit fb57c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer/lru_k_replacer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace bustub {

LRUKReplacer::LRUKReplacer(size_t num_frames, size_t k) : replacer_size_(num_frames), k_(k) {}

auto LRUKReplacer::Evict(frame_id_t *frame_id) -> bool { return false; }
auto LRUKReplacer::Evict() -> std::optional<frame_id_t> { return std::nullopt; }

void LRUKReplacer::RecordAccess(frame_id_t frame_id, [[maybe_unused]] AccessType access_type) {}

Expand Down

0 comments on commit fb57c5c

Please sign in to comment.