Fix an issue with the feature inclusion order

This commit is contained in:
Denis Blank 2017-12-27 06:13:38 +01:00
parent d774371769
commit 6908f22996

View File

@ -31,6 +31,9 @@
#ifndef CONTINUABLE_DETAIL_TYPES_HPP_INCLUDED__
#define CONTINUABLE_DETAIL_TYPES_HPP_INCLUDED__
#include <continuable/continuable-api.hpp>
#include <continuable/detail/features.hpp>
#ifndef CONTINUABLE_WITH_CUSTOM_ERROR_TYPE
#ifndef CONTINUABLE_WITH_NO_EXCEPTIONS
#include <exception>
@ -39,9 +42,6 @@
#endif // CONTINUABLE_WITH_NO_EXCEPTIONS
#endif // CONTINUABLE_WITH_CUSTOM_ERROR_TYPE
#include <continuable/continuable-api.hpp>
#include <continuable/detail/features.hpp>
namespace cti {
namespace detail {
/// Contains types used globally across the library