mirror of
https://github.com/tristanpenman/valijson.git
synced 2025-03-03 12:58:03 +01:00
make cloneInto private, because calling it with the wrong size allocation would be bad.
This commit is contained in:
parent
28bcbcbbb2
commit
ade9662e1f
@ -812,7 +812,7 @@ public:
|
||||
const std::vector<std::string>& context,
|
||||
valijson::ValidationResults *results) const = 0;
|
||||
|
||||
protected:
|
||||
private:
|
||||
virtual Constraint * cloneInto(void *) const = 0;
|
||||
|
||||
virtual size_t sizeOf() const = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user