Skip to content

Commit

Permalink
loop fix (#13828)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs authored and pull[bot] committed Nov 15, 2023
1 parent 2527a9d commit 1267640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/platform/AttributeList.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class AttributeList
{
public:
Iterator(const AttributeList<T, N> * AttributeList, int index);
T operator*() const;
const T & operator*() const;
Iterator & operator++();
bool operator!=(const Iterator & other) const;

Expand Down Expand Up @@ -114,7 +114,7 @@ inline AttributeList<T, N>::Iterator::Iterator(const AttributeList<T, N> * pAttr
{}

template <typename T, size_t N>
inline T AttributeList<T, N>::Iterator::operator*() const
inline const T & AttributeList<T, N>::Iterator::operator*() const
{
return mAttributeListPtr->operator[](mIndex);
}
Expand Down

0 comments on commit 1267640

Please sign in to comment.