Fixes for Windows.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-10-30 13:38:52 +02:00
parent b72685ff05
commit ea5c824d34
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
8 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#ifndef ARBUTILS_DICTIONARY_HPP #ifndef ARBUTILS_DICTIONARY_HPP
#define ARBUTILS_DICTIONARY_HPP #define ARBUTILS_DICTIONARY_HPP
#include <algorithm>
#include <optional> #include <optional>
#include <unordered_map>
#include "../Ensure.hpp" #include "../Ensure.hpp"
namespace ArbUt { namespace ArbUt {

View File

@ -1,5 +1,7 @@
#ifndef ARBUTILS_LIST_HPP #ifndef ARBUTILS_LIST_HPP
#define ARBUTILS_LIST_HPP #define ARBUTILS_LIST_HPP
#include <vector>
#include <sstream>
#include "../Exception.hpp" #include "../Exception.hpp"
namespace ArbUt { namespace ArbUt {

View File

@ -1,5 +1,6 @@
/** @file */ /** @file */
#include "Exception.hpp" #include "Exception.hpp"
#include <sstream>
/// \defgroup Ensure Ensure /// \defgroup Ensure Ensure
/// \brief A set of ensure macros. /// \brief A set of ensure macros.

View File

@ -1,5 +1,7 @@
#ifndef ARBUTILS_EXCEPTION_HPP #ifndef ARBUTILS_EXCEPTION_HPP
#define ARBUTILS_EXCEPTION_HPP #define ARBUTILS_EXCEPTION_HPP
#include <string>
#include <stdexcept>
#if !WINDOWS #if !WINDOWS
#if PRETTYTRACES #if PRETTYTRACES

View File

@ -2,6 +2,7 @@
#define ARBUTILS___BORROWEDPTR_HPP #define ARBUTILS___BORROWEDPTR_HPP
#include <cstddef> #include <cstddef>
#include <memory>
#include "../Ensure.hpp" #include "../Ensure.hpp"
namespace ArbUt { namespace ArbUt {

View File

@ -1,6 +1,7 @@
#ifndef ARBUTILS___OPTIONALOptionalUniquePtrList_HPP #ifndef ARBUTILS___OPTIONALOptionalUniquePtrList_HPP
#define ARBUTILS___OPTIONALOptionalUniquePtrList_HPP #define ARBUTILS___OPTIONALOptionalUniquePtrList_HPP
#include <vector>
#include "__OptionalBorrowedPtr.hpp" #include "__OptionalBorrowedPtr.hpp"
namespace ArbUt { namespace ArbUt {

View File

@ -3,6 +3,7 @@
#include "../Ensure.hpp" #include "../Ensure.hpp"
namespace ArbUt { namespace ArbUt {
/// @brief A unique pointer is used to indicate a pointer that is owned by its holder, and will be deleted when its /// @brief A unique pointer is used to indicate a pointer that is owned by its holder, and will be deleted when its
/// owner is deleted. As with all Arbutils pointers, this cannot be assigned null. Use an OptionalUniquePtr for /// owner is deleted. As with all Arbutils pointers, this cannot be assigned null. Use an OptionalUniquePtr for

View File

@ -1,6 +1,7 @@
#ifndef ARBUTILS___UNIQUEPTRLIST_HPP #ifndef ARBUTILS___UNIQUEPTRLIST_HPP
#define ARBUTILS___UNIQUEPTRLIST_HPP #define ARBUTILS___UNIQUEPTRLIST_HPP
#include <vector>
#include "../Ensure.hpp" #include "../Ensure.hpp"
#include "__BorrowedPtr.hpp" #include "__BorrowedPtr.hpp"