Skip to content

Commit

Permalink
refactor: explicitly delete move constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Feb 25, 2024
1 parent cc73b50 commit 1152ada
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/ftp/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ class client

client & operator=(const client &) = delete;

client(client &&) noexcept = delete;

client & operator=(client &&) noexcept = delete;

replies connect(std::string_view hostname,
std::uint16_t port = 21,
const std::optional<std::string_view> & username = std::nullopt,
Expand Down

0 comments on commit 1152ada

Please sign in to comment.