We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent4260d6d commit13a51fbCopy full SHA for 13a51fb
http/src/network/http/v2/client/request.hpp
@@ -57,12 +57,20 @@ namespace network {
57
/**
58
* \brief Copy constructor.
59
*/
60
-request_options(request_optionsconst &) =default;
+request_options(request_optionsconst &other)
61
+ : resolve_timeout_(other.resolve_timeout_)
62
+ , read_timeout_(other.read_timeout_)
63
+ , total_timeout_(other.total_timeout_)
64
+ , max_redirects_(other.max_redirects_) { }
65
66
67
* \brief Move constructor.
68
-request_options(request_options &&) =default;
69
+request_options(request_options &&other)
70
+ : resolve_timeout_(std::move(other.resolve_timeout_))
71
+ , read_timeout_(std::move(other.read_timeout_))
72
+ , total_timeout_(std::move(other.total_timeout_))
73
+ , max_redirects_(std::move(other.max_redirects_)) { }
74
75
76
* \brief Assignment operator.