generated from Sithas/conan_template
Перепись с const std::string& на std::string_view
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user