mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
fix constructor
This commit is contained in:
parent
e6b504f94b
commit
4f5c2787d7
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,6 @@ namespace sprout {
|
|||
item& operator=(item const&) SPROUT_DELETED_FUNCTION_DECL
|
||||
item& operator=(item&&) SPROUT_DELETED_FUNCTION_DECL
|
||||
private:
|
||||
item(item const&) = default;
|
||||
SPROUT_CONSTEXPR item(typename holder_type::argument_type p, item_holder_type const& n)
|
||||
: val(p)
|
||||
, next(n)
|
||||
|
@ -259,6 +258,7 @@ namespace sprout {
|
|||
SPROUT_CONSTEXPR item() SPROUT_NOEXCEPT
|
||||
: val(), next()
|
||||
{}
|
||||
item(item const&) = default;
|
||||
SPROUT_CONSTEXPR item(typename holder_type::argument_type p)
|
||||
: val(p), next()
|
||||
{}
|
||||
|
|
Loading…
Reference in a new issue