From a7856a0301568f9e17945f753802cc0d2ce9dd8f Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Mon, 25 Sep 2023 20:56:51 +0200 Subject: [PATCH] Cleanup parenths --- include/date.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/date.hpp b/include/date.hpp index 9eda0f8..9c94dcc 100644 --- a/include/date.hpp +++ b/include/date.hpp @@ -323,7 +323,7 @@ struct date { // Update the year if necessary if(_month > 12){ *this += years((_month - 1) / 12); - _month = (_month) % 12; + _month = _month % 12; } // Update the day of month, if necessary