Skip to content

Commit

Permalink
🏁 implicit conversion is not allowed with MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jul 21, 2018
1 parent 5b14411 commit 3760a38
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/src/unit-conversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,15 +433,6 @@ TEST_CASE("value conversion")
#endif
}

SECTION("get null (implicit)")
{
std::nullptr_t n;
json j(n);

std::nullptr_t n2 = (std::nullptr_t)j;
CHECK(n2 == n);
}

SECTION("get null (explicit)")
{
std::nullptr_t n;
Expand Down

2 comments on commit 3760a38

@jameyboor
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love how you're still going strong with the emoji's.

@nlohmann
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also convinced my colleagues at work to use Gitmoji for their projects ;-)

Please sign in to comment.