removed extra namespace from simple functions
Gitea Actions For Fabelous-Math / Explore-Gitea-Actions (push) Successful in 18s Details

This commit is contained in:
Falko Victor Habel 2025-03-14 14:11:53 +01:00
parent 7345d29515
commit 8e6f8dd178
1 changed files with 6 additions and 8 deletions

View File

@ -1,11 +1,9 @@
#include "simple_functions.hpp"
namespace simple_functions {
bool is_even(long long number) {
return (number & 1) == 0;
}
bool simple_functions::is_even(long long number) {
return (number & 1) == 0;
}
bool is_odd(long long number) {
return (number & 1);
}
}
bool simple_functions::is_odd(long long number) {
return (number & 1);
}