Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
wichtounet committed Sep 25, 2023
1 parent a7856a0 commit a57916f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/date.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ struct month {

operator date_type() const { return value; }

month& operator=(date_type value){
this->value = value;
month& operator=(date_type new_value){
this->value = new_value;

return *this;
}
Expand Down Expand Up @@ -100,8 +100,8 @@ struct year {
year(date_type value) : value(value) {}
operator date_type() const { return value; }

year& operator=(date_type value){
this->value = value;
year& operator=(date_type new_value){
this->value = new_value;

return *this;
}
Expand All @@ -122,8 +122,8 @@ struct months {
explicit months(date_type value) : value(value) {}
operator date_type() const { return value; }

months& operator=(date_type value){
this->value = value;
months& operator=(date_type new_value){
this->value = new_value;

return *this;
}
Expand Down

0 comments on commit a57916f

Please sign in to comment.