Skip to content

Commit

Permalink
Refactor code to address clang-tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
umegane committed Jan 16, 2025
1 parent 2c61b6e commit 502f084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/limestone/api/blob_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class blob_file {
* @return true if this is available
* @return false otherwise
*/
[[nodiscard]] operator bool() const noexcept;
[[nodiscard]] explicit operator bool() const noexcept;
};

} // namespace limestone::api
2 changes: 1 addition & 1 deletion include/limestone/api/blob_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class blob_pool {
*/
[[nodiscard]] virtual blob_id_type register_file(
boost::filesystem::path const& file,
bool is_temporary_file = false) = 0;
bool is_temporary_file) = 0;

/**
* @brief registers a BLOB data provisionally into this BLOB pool.
Expand Down

0 comments on commit 502f084

Please sign in to comment.