Header cleanup.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
4a476dcf4c
commit
3f4b026071
|
@ -1,7 +1,6 @@
|
||||||
#ifndef ARBUTILS_CORE_HPP
|
#ifndef ARBUTILS_CORE_HPP
|
||||||
#define ARBUTILS_CORE_HPP
|
#define ARBUTILS_CORE_HPP
|
||||||
|
|
||||||
#include <cstring>
|
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "../src/Exception.hpp"
|
#include "../src/Exception.hpp"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "MacroUtils.hpp"
|
#include "MacroUtils.hpp"
|
||||||
#include "StringView.hpp"
|
#include "StringView.hpp"
|
||||||
|
#include <variant>
|
||||||
|
|
||||||
#define ENUM_VALUE(x, value) x = value,
|
#define ENUM_VALUE(x, value) x = value,
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
#ifndef ARBUTILS_STRINGVIEW_HPP
|
#ifndef ARBUTILS_STRINGVIEW_HPP
|
||||||
#define ARBUTILS_STRINGVIEW_HPP
|
#define ARBUTILS_STRINGVIEW_HPP
|
||||||
|
|
||||||
#include <atomic>
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string_view>
|
||||||
#include "BasicStringView.hpp"
|
#include "BasicStringView.hpp"
|
||||||
|
|
||||||
#if WINDOWS
|
#if WINDOWS
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#ifdef TESTS_BUILD
|
#ifdef TESTS_BUILD
|
||||||
#include <cstring>
|
#include <stdint.h>
|
||||||
|
#include <vector>
|
||||||
#include "../extern/catch.hpp"
|
#include "../extern/catch.hpp"
|
||||||
#include "../src/Enum.hpp"
|
#include "../src/Enum.hpp"
|
||||||
|
#include "../src/MacroUtils.hpp"
|
||||||
|
|
||||||
ENUM(TestEnum, uint8_t, Val1, Val2, Val3)
|
ENUM(TestEnum, uint8_t, Val1, Val2, Val3)
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
#ifdef TESTS_BUILD
|
#ifdef TESTS_BUILD
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include "../extern/catch.hpp"
|
#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]") {
|
TEST_CASE("Initialize compile time", "[Utilities]") {
|
||||||
static_assert("foo"_cnc.Length() == 3);
|
static_assert("foo"_cnc.Length() == 3);
|
||||||
|
|
Loading…
Reference in New Issue