Header cleanup.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-09-21 14:01:19 +02:00
parent 4a476dcf4c
commit 3f4b026071
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
5 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,6 @@
#ifndef ARBUTILS_CORE_HPP
#define ARBUTILS_CORE_HPP
#include <cstring>
#include <exception>
#include <string>
#include "../src/Exception.hpp"

View File

@ -5,6 +5,7 @@
#include <vector>
#include "MacroUtils.hpp"
#include "StringView.hpp"
#include <variant>
#define ENUM_VALUE(x, value) x = value,
#

View File

@ -1,12 +1,11 @@
#ifndef ARBUTILS_STRINGVIEW_HPP
#define ARBUTILS_STRINGVIEW_HPP
#include <atomic>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <memory>
#include <string>
#include <string_view>
#include "BasicStringView.hpp"
#if WINDOWS

View File

@ -1,7 +1,9 @@
#ifdef TESTS_BUILD
#include <cstring>
#include <stdint.h>
#include <vector>
#include "../extern/catch.hpp"
#include "../src/Enum.hpp"
#include "../src/MacroUtils.hpp"
ENUM(TestEnum, uint8_t, Val1, Val2, Val3)

View File

@ -1,9 +1,13 @@
#ifdef TESTS_BUILD
#include <cstring>
#include <sstream>
#include <stdint.h>
#include <string>
#include <unordered_map>
#include "../extern/catch.hpp"
#include "../src/StringView.hpp"
#include "../src/String/BasicStringView.hpp"
#include "../src/String/StringView.hpp"
#include "../src/String/StringViewLiteral.hpp"
TEST_CASE("Initialize compile time", "[Utilities]") {
static_assert("foo"_cnc.Length() == 3);