folly::dynamic::operator= for std::initializer_list
Summary:
If we're going to have a constructor for it, we should have operator=.
Otherwise, gcc-4.9 goes via the copy constructor effectively "ignoring" the attempted nesting for e.g..
```
d = { other_dynamic }; // Should be ARRAY containing dynamic
```
NOTE: this only fixes gcc-4.9, there's still issues in clang.
Reviewed By: yfeldblum
Differential Revision: D2745180
fb-gh-sync-id: 667787c788fc7c131d8a34c608c355f5b875be50
Showing
Please register or sign in to comment