Skip to content

Commit

Permalink
Try a thing
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMKW committed Feb 9, 2024
1 parent bc2d943 commit a7ac7ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/JSystem/JGadget/List.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ namespace JGadget {

iterator begin() _GLIBCXX_NOEXCEPT { return iterator(mBegin); }
const_iterator begin() const _GLIBCXX_NOEXCEPT { return const_iterator(mBegin); }
iterator end() _GLIBCXX_NOEXCEPT { return iterator(reinterpret_cast<TNode_ *>(&mBegin)); }
iterator end() _GLIBCXX_NOEXCEPT { return iterator(reinterpret_cast<TNode_ *>(&mEnd)); }
const_iterator end() const _GLIBCXX_NOEXCEPT {
return const_iterator(reinterpret_cast<const TNode_ *>(&mBegin));
return const_iterator(reinterpret_cast<const TNode_ *>(&mEnd));
}

#if __cplusplus >= 201103L
Expand Down

0 comments on commit a7ac7ca

Please sign in to comment.