Drop use of deleted virtual function to support older MacOS (#8226)
* Support older MacOS * Update json.h
This commit is contained in:
parent
dc07137a2c
commit
b397d64c96
@ -58,7 +58,9 @@ class Value {
|
||||
virtual Json& operator[](int ind);
|
||||
|
||||
virtual bool operator==(Value const& rhs) const = 0;
|
||||
#if !defined(__APPLE__)
|
||||
virtual Value& operator=(Value const& rhs) = delete;
|
||||
#endif // !defined(__APPLE__)
|
||||
|
||||
std::string TypeStr() const;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user