MCPcopy Create free account
hub / github.com/IENT/YUView / operator==

Method operator==

YUViewLib/src/decoder/decoderTarga.cpp:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 color_t &operator[](int i) { return m_color[i]; }
91
92 bool operator==(const Colormap &o) const
93 {
94 for (int i = 0; i < int(m_color.size()); ++i)
95 {
96 if (m_color[i] != o[i])
97 return false;
98 }
99 return true;
100 }
101
102 bool operator!=(const Colormap &o) const { return !operator==(o); }
103

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected