mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix defaulted default constructor
This commit is contained in:
parent
5aacc92a14
commit
7640eca894
82 changed files with 139 additions and 120 deletions
|
@ -46,7 +46,7 @@ namespace sprout {
|
|||
private:
|
||||
T t_;
|
||||
public:
|
||||
lit_str_p() = default;
|
||||
SPROUT_CONSTEXPR lit_str_p() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
explicit SPROUT_CONSTEXPR lit_str_p(T const& t)
|
||||
: t_(t)
|
||||
{}
|
||||
|
@ -119,7 +119,7 @@ namespace sprout {
|
|||
private:
|
||||
T t_;
|
||||
public:
|
||||
str_p() = default;
|
||||
SPROUT_CONSTEXPR str_p() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
|
||||
explicit SPROUT_CONSTEXPR str_p(T const& t)
|
||||
: t_(t)
|
||||
{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue