Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
Signed-off-by: Avisheet <[email protected]>
  • Loading branch information
Avisheet committed Feb 22, 2024
1 parent 259a340 commit 6f75941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Color.cc
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void Color::SetFromYUV(const float _y, const float _u, const float _v)
}

//////////////////////////////////////////////////
float &Color::operator[](const unsigned int _index)
const float &Color::operator[](const unsigned int _index)
{
return (*static_cast<const Color *>(this))[_index];
}
Expand Down

0 comments on commit 6f75941

Please sign in to comment.