Skip to content

Commit 7a0d5db

Browse files
committed
Removed NOEXCEPT from set_cookie(const unsigned int).
1 parent 8b33693 commit 7a0d5db

File tree

3 files changed

+2
-42
lines changed

3 files changed

+2
-42
lines changed

include/cookie.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ namespace curl {
9292
* This method overloads the previous one allowing to specify an integer instead
9393
* of a bool.
9494
*/
95-
cookie *set_secure(const unsigned int) NOEXCEPT;
95+
cookie *set_secure(const unsigned int);
9696
/**
9797
* This method overloads the previous one allowing to specify a string to indicate
9898
* whether the cookie is secure (with "secure" keyword) or not (empty string).

src/cookie.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ curl::cookie *curl::cookie::set_secure(const char *secure) NOEXCEPT {
105105
}
106106

107107
// Implementation of set_secure method.
108-
curl::cookie *curl::cookie::set_secure(const unsigned int secure) NOEXCEPT {
108+
curl::cookie *curl::cookie::set_secure(const unsigned int secure) {
109109
if (secure == 0) {
110110
this->secure = false;
111111
} else if (secure == 1) {

test/custom_request.cpp

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)