spelling: converting

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2022-11-01 21:46:24 -04:00
committed by Andrzej Krzemienski
parent 29dd9187ec
commit 6f85014c00
2 changed files with 3 additions and 3 deletions

View File

@ -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();
} }

View File

@ -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;