This is an automated email from the ASF dual-hosted git repository. panxiaolei pushed a commit to branch clucene in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
The following commit(s) were added to refs/heads/clucene by this push: new 4e6a90b4704 [fix](ssreader) fix compiler error (#303) 4e6a90b4704 is described below commit 4e6a90b47043e0ed6ba2e126426e60684b606174 Author: airborne12 <jiang...@selectdb.com> AuthorDate: Fri Apr 25 12:02:05 2025 +0800 [fix](ssreader) fix compiler error (#303) --- src/core/CLucene/util/CLStreams.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/CLucene/util/CLStreams.h b/src/core/CLucene/util/CLStreams.h index 5fd08531a00..8acc03dc86b 100644 --- a/src/core/CLucene/util/CLStreams.h +++ b/src/core/CLucene/util/CLStreams.h @@ -263,9 +263,9 @@ public: int64_t position() override { return pos; } - int64_t reset(int64_t){ - if ( pos >= 0 && pos < this->m_size ) - this->pos = pos; + int64_t reset(int64_t new_pos){ + if ( new_pos >= 0 && new_pos < this->m_size ) + this->pos = new_pos; return this->pos; } int64_t skip(int64_t ntoskip) override{ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org