replace usage of [[deprecated]] with CPPHTTPLIB_DEPRECATED (#513)

This commit is contained in:
Nicolas Schneider 2020-06-03 19:12:31 +02:00 committed by GitHub
parent 05e8b22989
commit 919a51091f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -780,7 +780,7 @@ public:
void stop();
[[deprecated]] void set_timeout_sec(time_t timeout_sec);
CPPHTTPLIB_DEPRECATED void set_timeout_sec(time_t timeout_sec);
void set_connection_timeout(time_t sec, time_t usec = 0);
void set_read_timeout(time_t sec, time_t usec = 0);
void set_write_timeout(time_t sec, time_t usec = 0);