minior cleanup

v1
Brett 2023-12-09 21:21:14 -05:00
parent 6c88268f7a
commit ce6ade1a90
2 changed files with 1 additions and 30 deletions

View File

@ -19,14 +19,12 @@
#ifndef BLT_UTILITY_H #ifndef BLT_UTILITY_H
#define BLT_UTILITY_H #define BLT_UTILITY_H
#include <optional> #include <string>
#include <blt/std/string.h>
#if defined(__GNUC__) #if defined(__GNUC__)
#include <cxxabi.h> #include <cxxabi.h>
#include <blt/compatibility.h> #include <blt/compatibility.h>
#include <string>
namespace blt namespace blt
{ {

View File

@ -26,11 +26,6 @@
#include <limits> #include <limits>
#include "blt/std/assert.h" #include "blt/std/assert.h"
std::optional<int> get()
{
return 10;
}
void printLines(const std::vector<std::string>& lines) void printLines(const std::vector<std::string>& lines)
{ {
for (const auto& v : lines) for (const auto& v : lines)
@ -38,21 +33,6 @@ void printLines(const std::vector<std::string>& lines)
std::cout << std::endl; 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<typename T> template<typename T>
void e1(const T& test) void e1(const T& test)
@ -111,13 +91,6 @@ void fuckered()
void blt::test::utility::run() void blt::test::utility::run()
{ {
//std::vector<int> temp;
std::optional<int> hi(10);
if (auto test = get())
{
}
blt::string::TableFormatter tableTest("Intrinsic Action Value Table"); blt::string::TableFormatter tableTest("Intrinsic Action Value Table");
tableTest.addColumn("Thing"); tableTest.addColumn("Thing");
tableTest.addColumn("Value"); tableTest.addColumn("Value");