forked from boostorg/optional
spelling: converting
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Andrzej Krzemienski
parent
29dd9187ec
commit
6f85014c00
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
// THIS TEST SHOULD FAIL TO COMPILE
|
// THIS TEST SHOULD FAIL TO COMPILE
|
||||||
|
|
||||||
void test_converitng_assignment_of_different_enums()
|
void test_converting_assignment_of_different_enums()
|
||||||
{
|
{
|
||||||
const boost::optional<int> o1(1);
|
const boost::optional<int> o1(1);
|
||||||
const boost::optional<int> o2(2);
|
const boost::optional<int> o2(2);
|
||||||
@ -22,5 +22,5 @@ void test_converitng_assignment_of_different_enums()
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
test_converitng_assignment_of_different_enums();
|
test_converting_assignment_of_different_enums();
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
enum E1 {e1};
|
enum E1 {e1};
|
||||||
enum E2 {e2};
|
enum E2 {e2};
|
||||||
|
|
||||||
void test_converitng_assignment_of_different_enums()
|
void test_converting_assignment_of_different_enums()
|
||||||
{
|
{
|
||||||
boost::optional<E2> o2(e2);
|
boost::optional<E2> o2(e2);
|
||||||
boost::optional<E1> o1;
|
boost::optional<E1> o1;
|
||||||
|
Reference in New Issue
Block a user