From f063687892c12cc362fb85f8adf6bbd2d700a926 Mon Sep 17 00:00:00 2001 From: realstealthninja <68815218+realstealthninja@users.noreply.github.com> Date: Thu, 5 Sep 2024 05:13:16 +0530 Subject: [PATCH] fix: make tests static Co-authored-by: David Leal --- math/sieve_of_eratosthenes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/sieve_of_eratosthenes.cpp b/math/sieve_of_eratosthenes.cpp index 7b77b3474..e252e1955 100644 --- a/math/sieve_of_eratosthenes.cpp +++ b/math/sieve_of_eratosthenes.cpp @@ -56,7 +56,7 @@ void print(uint32_t N, const std::vector &is_prime) { /** * Test implementations */ -void tests() { +static void tests() { // 0 1 2 3 4 5 6 7 8 // 9 10 std::vector ans{false, false, true, true, false, true,