Skip to content

Commit

Permalink
Update nonstd::optional
Browse files Browse the repository at this point in the history
  • Loading branch information
trapexit committed Feb 18, 2024
1 parent cedc9f0 commit b3ce95c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nonstd/optional.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -1555,7 +1555,7 @@ class optional
void initialize( V && value )
{
assert( ! has_value() );
contained.construct_value( std::move( value ) );
contained.construct_value( std::forward<V>( value ) );
has_value_ = true;
}

Expand Down

0 comments on commit b3ce95c

Please sign in to comment.