Skip to content

Commit

Permalink
static_promise default constructors and destructor added
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanPinezhaninov committed Dec 2, 2023
1 parent 2666d89 commit 9069cf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/async_promise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1907,6 +1907,12 @@ template<typename T>
class static_promise
{
public:
static_promise(const static_promise&) = default;
static_promise(static_promise&&) = default;
static_promise& operator=(const static_promise&) = default;
static_promise& operator=(static_promise&&) = default;
virtual ~static_promise() = default;

/**
* @brief Add an iterable of functions to be called.
* Return an iterable of results or first rejection reason.
Expand Down

0 comments on commit 9069cf3

Please sign in to comment.