Skip to content

Commit

Permalink
no-NOLINT
Browse files Browse the repository at this point in the history
  • Loading branch information
ban-nobuhiro committed Jan 17, 2025
1 parent d10c4de commit e33121b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/shirakami/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Status init(database_options options = {}); // NOLINT
* @return Status::ERR_READ_AREA_VIOLATION error about read area.
*/
Status insert(Token token, Storage storage,
std::string_view key, // NOLINT
std::string_view key,
std::string_view val,
blob_id_type const* blobs_data = nullptr,
std::size_t blobs_size = 0
Expand Down Expand Up @@ -419,7 +419,7 @@ Status tx_begin(transaction_options options = {}); // NOLINT
*/
Status update(Token token, Storage storage, std::string_view key, std::string_view val,
blob_id_type const* blobs_data = nullptr,
std::size_t blobs_size = 0); // NOLINT
std::size_t blobs_size = 0);

/**
* @brief update the record for the given key, or insert the key/value if the
Expand Down Expand Up @@ -449,7 +449,7 @@ Status update(Token token, Storage storage, std::string_view key, std::string_vi
*/
Status upsert(Token token, Storage storage, std::string_view key, std::string_view val,
blob_id_type const* blobs_data = nullptr,
std::size_t blobs_size = 0); // NOLINT
std::size_t blobs_size = 0);


//==========
Expand Down
2 changes: 1 addition & 1 deletion src/concurrency_control/interface/insert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Status insert_body(Token const token, Storage const storage, // NOLINT
}

Status insert(Token const token, Storage const storage, // NOLINT
const std::string_view key, // NOLINT
const std::string_view key,
const std::string_view val,
[[maybe_unused]] blob_id_type const* blobs_data,
[[maybe_unused]] std::size_t blobs_size) {
Expand Down
2 changes: 1 addition & 1 deletion src/concurrency_control/interface/update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Status update_body(Token token, Storage storage,
}

Status update(Token token, Storage storage,
std::string_view const key, // NOLINT
std::string_view const key,
std::string_view const val,
[[maybe_unused]] blob_id_type const* blobs_data,
[[maybe_unused]] std::size_t blobs_size) {
Expand Down

0 comments on commit e33121b

Please sign in to comment.