Skip to content

Commit 66a4c4f

Browse files
an-taoCopilot
andauthored
Update orm_lib/inc/drogon/orm/DbClient.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f4d17c1 commit 66a4c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orm_lib/inc/drogon/orm/DbClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class DROGON_EXPORT DbClient : public trantor::NonCopyable
217217

218218
template <typename T>
219219
internal::SqlAwaiter execSqlCoro(const std::string &sql,
220-
std::vector<T> &args) noexcept
220+
const std::vector<T> &args) noexcept
221221
{
222222
auto binder = *this << sql;
223223
for (const auto &arg : args) {

0 commit comments

Comments
 (0)