Union will fail to compile on windows.
Possible bug in MSVC as it fails with error: desctructor is inaccessible for iterator
This commit is contained in:
parent
a97509977f
commit
2600311273
@ -2379,7 +2379,11 @@ class basic_json
|
|||||||
///////////////
|
///////////////
|
||||||
|
|
||||||
/// an iterator value
|
/// an iterator value
|
||||||
union internal_iterator
|
#ifdef _MSC_VER
|
||||||
|
struct internal_iterator
|
||||||
|
#else
|
||||||
|
union internal_iterator
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
/// iterator for JSON objects
|
/// iterator for JSON objects
|
||||||
typename object_t::iterator object_iterator;
|
typename object_t::iterator object_iterator;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user