Skip to content

Commit

Permalink
core: use const reference
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Dec 18, 2024
1 parent 717e6cb commit 7f33438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ftp/ftp_exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class FTP_EXPORT ftp_exception : public std::exception
}

template<typename ...Args>
ftp_exception(boost::system::error_code & ec, const std::string & fmt, Args && ...args)
ftp_exception(const boost::system::error_code & ec, const std::string & fmt, Args && ...args)
{
message_ = detail::utils::format(fmt, std::forward<Args>(args)...);
message_.append(": ");
Expand Down

0 comments on commit 7f33438

Please sign in to comment.