Skip to content

Commit

Permalink
Remove unnecessary const
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffa5 committed Sep 29, 2022
1 parent 00b7f89 commit 1abdda1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/kvstore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace app::kvstore
{
using json = nlohmann::json;

Value::Value(const std::string& v, const int64_t lease_id)
Value::Value(const std::string& v, int64_t lease_id)
{
data = std::vector<uint8_t>(v.begin(), v.end());
create_revision = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/app/kvstore.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace app::kvstore
// the id of the lease associated with this key, 0 if no lease.
int64_t lease;

Value(const std::string& v, const int64_t lease_id);
Value(const std::string& v, int64_t lease_id);
Value();

std::string get_data();
Expand Down

0 comments on commit 1abdda1

Please sign in to comment.