Skip to content

Commit a858a73

Browse files
committed
*fix bug: Error in classes Xml::NodeIterator, Xml::AttributeIterator.
1 parent 52f1abb commit a858a73

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
strategy:
5858
matrix:
59-
clang_version: [18]
59+
clang_version: [18, 19]
6060
build_type: [Debug, Release]
6161

6262
steps:

docs/2025.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ <h5>Bug fixing</h5>
5454
<ul>
5555
<li>Error in Base implementation, SSE4.1, AVX2, AVX-512BW optimizations of class SynetDeconvolution16bNhwcGemm.</li>
5656
<li>Error in Base implementation, AMX-BF16 optimizations of class SynetInnerProduct16bGemmNN.</li>
57+
<li>Error in class Xml::NodeIterator.</li>
58+
<li>Error in class Xml::AttributeIterator.</li>
5759
</ul>
5860

5961
<h4>Test framework</h4>
@@ -66,6 +68,7 @@ <h4>Infrastructure</h4>
6668
<h5>New features</h5>
6769
<ul>
6870
<li>Clang version parameter in Github actions script for CMake.</li>
71+
<li>Check Clang-19 in Github actions script for CMake.</li>
6972
</ul>
7073

7174
<hr/>

src/Simd/SimdXml.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,7 @@ namespace Simd
17381738
NodeIterator operator++(int)
17391739
{
17401740
NodeIterator tmp = *this;
1741-
++this;
1741+
++(*this);
17421742
return tmp;
17431743
}
17441744

@@ -1752,7 +1752,7 @@ namespace Simd
17521752
NodeIterator operator--(int)
17531753
{
17541754
NodeIterator tmp = *this;
1755-
++this;
1755+
--(*this);
17561756
return tmp;
17571757
}
17581758

@@ -1813,7 +1813,7 @@ namespace Simd
18131813
AttributeIterator operator++(int)
18141814
{
18151815
AttributeIterator tmp = *this;
1816-
++this;
1816+
++(*this);
18171817
return tmp;
18181818
}
18191819

@@ -1827,7 +1827,7 @@ namespace Simd
18271827
AttributeIterator operator--(int)
18281828
{
18291829
AttributeIterator tmp = *this;
1830-
++this;
1830+
--(*this);
18311831
return tmp;
18321832
}
18331833

0 commit comments

Comments
 (0)