mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 17:36:25 -05:00
Update nonstd::optional
This commit is contained in:
parent
cedc9f0f25
commit
b3ce95c422
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
#define NONSTD_OPTIONAL_LITE_HPP
|
||||
|
||||
#define optional_lite_MAJOR 3
|
||||
#define optional_lite_MINOR 5
|
||||
#define optional_lite_MINOR 6
|
||||
#define optional_lite_PATCH 0
|
||||
|
||||
#define optional_lite_VERSION optional_STRINGIFY(optional_lite_MAJOR) "." optional_STRINGIFY(optional_lite_MINOR) "." optional_STRINGIFY(optional_lite_PATCH)
|
||||
|
|
@ -1555,7 +1555,7 @@ private:
|
|||
void initialize( V && value )
|
||||
{
|
||||
assert( ! has_value() );
|
||||
contained.construct_value( std::move( value ) );
|
||||
contained.construct_value( std::forward<V>( value ) );
|
||||
has_value_ = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue