Skip to content

Commit

Permalink
cleanup: clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
umegane committed Oct 17, 2024
1 parent aa64958 commit 522c4af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions include/limestone/api/snapshot.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ namespace limestone::api {
* @brief a snapshot of the data at a point in time on the data store
*/
class snapshot {
public:

public:
snapshot() noexcept = delete;
~snapshot();
snapshot(const snapshot&) = delete;
snapshot& operator=(const snapshot&) = delete;
snapshot(snapshot&&) noexcept = delete;
snapshot& operator=(snapshot&&) noexcept = delete;
~snapshot();

/**
* @brief directory name of a snapshot
Expand Down
3 changes: 2 additions & 1 deletion src/limestone/sorting_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ std::optional<write_version_type> sorting_context::clear_storage_find(const stor
return {itr->second};
}

[[nodiscard]]
std::map<storage_id_type, write_version_type> sorting_context::get_clear_storage() const {
return clear_storage;
return clear_storage;
}

} // namespace limestone::internal

0 comments on commit 522c4af

Please sign in to comment.