Skip to content
Snippets Groups Projects
Commit 6d69c515 authored by Yurov, Dmitry's avatar Yurov, Dmitry
Browse files

Inequality operator added for Material

Redmine: #1858
parent 3451389c
No related branches found
No related tags found
No related merge requests found
......@@ -95,3 +95,8 @@ bool operator==(const Material& left, const Material& right)
return true;
}
bool operator!=(const Material& left, const Material& right)
{
return !(left == right);
}
......@@ -96,7 +96,10 @@ private:
std::unique_ptr<BaseMaterialImpl> m_material_impl;
};
//! Comparison operator for material wrapper
//! Comparison operator for material wrapper (equality check)
BA_CORE_API_ bool operator==(const Material& left, const Material& right);
//! Comparison operator for material wrapper (inequality check)
BA_CORE_API_ bool operator!=(const Material& left, const Material& right);
#endif /* MATERIAL_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment