Перепись с const std::string& на std::string_view

This commit is contained in:
2026-02-07 09:44:03 +03:00
parent 0ee1beacfa
commit bff937f9a7
2 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ void MySqlDiariesDAO::UpdateDiary(
diary_uuid.data()
);
auto res = stmt.execute();
const auto res = stmt.execute();
if (res.getAffectedItemsCount() == 0) {
throw session_exception(boost::beast::http::status::not_found, "Diary not found");