Verified Commit ff4fb0a4 authored by Thomas Ives's avatar Thomas Ives
Browse files

Attribute::reset_value: Clear the data_size to 0

In some places, we use the data_size to know if we are allowed to access
the storage.
parent 85c3b20c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1580,6 +1580,7 @@ class Attribute
    void reset_value()
    {
        attribute_value.reset();
        data_size = 0;
    }

    bool value_is_set() const