mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
Attempt to fix the GCC build
This commit is contained in:
parent
b65eea8b1a
commit
0aa42d5b1a
@ -36,8 +36,7 @@ target_compile_features(continuable-base
|
|||||||
cxx_defaulted_functions
|
cxx_defaulted_functions
|
||||||
cxx_nullptr
|
cxx_nullptr
|
||||||
cxx_trailing_return_types
|
cxx_trailing_return_types
|
||||||
cxx_return_type_deduction
|
cxx_return_type_deduction)
|
||||||
$<$<COMPILE_FEATURES:cxx_std_17>:cxx_std_17>)
|
|
||||||
|
|
||||||
add_library(continuable INTERFACE)
|
add_library(continuable INTERFACE)
|
||||||
|
|
||||||
|
|||||||
@ -250,8 +250,7 @@ public:
|
|||||||
/// http_request("github.com")
|
/// http_request("github.com")
|
||||||
/// .then([](std::string github) { })
|
/// .then([](std::string github) { })
|
||||||
/// .catching([](std::error_condition error) {
|
/// .catching([](std::error_condition error) {
|
||||||
/// // Handle the error here
|
/// error.message(); // Handle the error here
|
||||||
/// // ...
|
|
||||||
/// });
|
/// });
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
|||||||
@ -34,6 +34,7 @@
|
|||||||
#include "function2/function2.hpp"
|
#include "function2/function2.hpp"
|
||||||
|
|
||||||
#include <continuable/continuable-base.hpp>
|
#include <continuable/continuable-base.hpp>
|
||||||
|
#include <continuable/continuable-promise-base.hpp>
|
||||||
|
|
||||||
namespace cti {
|
namespace cti {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
|||||||
@ -22,4 +22,6 @@
|
|||||||
|
|
||||||
#include <continuable/continuable.hpp>
|
#include <continuable/continuable.hpp>
|
||||||
|
|
||||||
int main(int, char**) { return 0; }
|
int main(int, char**) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user