未验证 提交 dc30ad1d 编写于 作者: Z Zhanlue Yang 提交者: GitHub

Fixed issue with offset,test=allcases (#38506)

上级 33ce249f
...@@ -84,6 +84,7 @@ class SharedStorage : public pten::Storage { ...@@ -84,6 +84,7 @@ class SharedStorage : public pten::Storage {
void Clear() override { void Clear() override {
data_ = nullptr; data_ = nullptr;
size_ = 0; size_ = 0;
offset_ = 0;
} }
size_t size() const noexcept override { return size_; } size_t size() const noexcept override { return size_; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册