From ce6ade1a9050bfcaa4bd1e1de2a68225a71cff7c Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 9 Dec 2023 21:21:14 -0500 Subject: [PATCH] minior cleanup --- include/blt/std/utility.h | 4 +--- tests/src/utility_test.cpp | 27 --------------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/include/blt/std/utility.h b/include/blt/std/utility.h index aa7e55f..db55a0e 100644 --- a/include/blt/std/utility.h +++ b/include/blt/std/utility.h @@ -19,14 +19,12 @@ #ifndef BLT_UTILITY_H #define BLT_UTILITY_H -#include -#include +#include #if defined(__GNUC__) #include #include - #include namespace blt { diff --git a/tests/src/utility_test.cpp b/tests/src/utility_test.cpp index e55172a..3bca1a2 100644 --- a/tests/src/utility_test.cpp +++ b/tests/src/utility_test.cpp @@ -26,11 +26,6 @@ #include #include "blt/std/assert.h" -std::optional get() -{ - return 10; -} - void printLines(const std::vector& lines) { for (const auto& v : lines) @@ -38,21 +33,6 @@ void printLines(const std::vector& lines) std::cout << std::endl; } -int testFunc(int a, int b) -{ - if (a == b) - { - a = 2 * b; - b = 3 * a; - } - - return a; -} - -//#undef BLT_START_INTERVAL -//#undef BLT_END_INTERVAL -//#define BLT_START_INTERVAL(profile, iteration) -//#define BLT_END_INTERVAL(profile, iteration) template void e1(const T& test) @@ -111,13 +91,6 @@ void fuckered() void blt::test::utility::run() { - //std::vector temp; - std::optional hi(10); - if (auto test = get()) - { - - } - blt::string::TableFormatter tableTest("Intrinsic Action Value Table"); tableTest.addColumn("Thing"); tableTest.addColumn("Value");