mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Fixed etl::expected in-place test syntax
This commit is contained in:
parent
c3d3a326f7
commit
a0668ff27f
@ -184,7 +184,7 @@ namespace
|
||||
|
||||
using ExpectedInPlace = etl::expected<ValueInPlace, Error>;
|
||||
|
||||
ExpectedInPlace expected(etl::in_place, 1, 2);
|
||||
ExpectedInPlace expected(etl::in_place_t(), 1, 2);
|
||||
|
||||
ValueInPlace output = expected.value();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user