Skip to content

Commit 8b33693

Browse files
authored
Fixed initialization order warning
1 parent 687be1c commit 8b33693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cookie_date.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace curl {
6161
/**
6262
* Default constructor. Inizialize the attributes with default values.
6363
*/
64-
cookie_date() : week_day("Mon"), day(1), month("Jan"), year(1970) {}
64+
cookie_date() : day(1), month("Jan"), week_day("Mon"), year(1970) {}
6565
/**
6666
* Constructor with parameters, which gives a fast way to build a cookie_date object.
6767
*/
@@ -126,4 +126,4 @@ namespace curl {
126126
};
127127
}
128128

129-
#endif //CURLCPP_COOKIE_DATE_H
129+
#endif //CURLCPP_COOKIE_DATE_H

0 commit comments

Comments
 (0)