Commit b5cdce84 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

core: enable default ctor for function_ref

parent 27091f75
......@@ -273,7 +273,7 @@ template<class R, class... Args>
class function_ref<R(Args...)>
{
public:
constexpr function_ref() noexcept = delete;
constexpr function_ref() noexcept = default;
/// Creates a `function_ref` which refers to the same callable as `rhs`.
constexpr function_ref(const function_ref<R(Args...)>& rhs) noexcept =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment