From e4ad6feeb55ce0eb1bb94b343dd5a9582b355c94 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sat, 12 Apr 2025 22:40:50 +0200 Subject: [PATCH] style: adding indentation in all the file --- cpp09/ex00/main.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cpp09/ex00/main.cpp b/cpp09/ex00/main.cpp index 40894c8..5e93c20 100644 --- a/cpp09/ex00/main.cpp +++ b/cpp09/ex00/main.cpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/04/08 12:15:32 by rparodi #+# #+# */ -/* Updated: 2025/04/12 22:30:40 by rparodi ### ########.fr */ +/* Updated: 2025/04/12 22:37:50 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -89,7 +89,6 @@ std::string itoa_home(int i) { return oss.str(); } - bool is_valid_format_date(std::string str) { regex_t regex; @@ -135,9 +134,9 @@ std::string check_date(std::string name, enum error_code *error_code) { std::string nb_len(std::string nb) { size_t first_non_zero = nb.find_first_not_of('0'); - if (first_non_zero == std::string::npos) - return "0"; - return nb.substr(first_non_zero); + if (first_non_zero == std::string::npos) + return "0"; + return nb.substr(first_non_zero); } float check_value(std::string value, enum error_code *error_code) {