mirror of
https://github.com/polybar/polybar.git
synced 2026-03-09 01:37:30 +00:00
fix(color): Rename type() function to get_type
In gcc5, this caused compilation errors because the type enum has the same name.
This commit is contained in:
committed by
Patrick Ziegler
parent
cf2653c8bd
commit
3f03b671bb
@ -106,7 +106,7 @@ uint32_t rgba::value() const {
|
||||
return this->m_value;
|
||||
}
|
||||
|
||||
enum rgba::type rgba::type() const {
|
||||
enum rgba::type rgba::get_type() const {
|
||||
return m_type;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user