2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-19 04:12:14 +00:00

storage_ptr fixes:

* Fix constraint in constructor
* No longer constructible from nullptr
This commit is contained in:
Vinnie Falco
2020-05-01 17:35:58 -07:00
parent 1061bcaa21
commit a6d2549ddf
5 changed files with 8 additions and 30 deletions

View File

@@ -277,7 +277,7 @@ public:
BOOST_TEST(s2 == t.v1);
BOOST_TEST(s1.empty());
BOOST_TEST(
s1.storage() == nullptr);
s1.storage() == storage_ptr());
}
{
@@ -286,7 +286,7 @@ public:
BOOST_TEST(s2 == t.v2);
BOOST_TEST(s1.empty());
BOOST_TEST(
s1.storage() == nullptr);
s1.storage() == storage_ptr());
}
}