diff --git a/src/app/kvstore.cpp b/src/app/kvstore.cpp index bde19fe2d..6ca712da2 100644 --- a/src/app/kvstore.cpp +++ b/src/app/kvstore.cpp @@ -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(v.begin(), v.end()); create_revision = 0; diff --git a/src/app/kvstore.h b/src/app/kvstore.h index 797403f4a..bebfaaed2 100644 --- a/src/app/kvstore.h +++ b/src/app/kvstore.h @@ -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();