style: Remove superfluous 'const' on getInfo()
was here before, but is an easy fix for a clang-tidy warningmaster
parent
da47c94480
commit
3d54a6002d
|
@ -32,7 +32,7 @@ class Battery : public ALabel {
|
|||
void refreshBatteries();
|
||||
void worker();
|
||||
const std::string getAdapterStatus(uint8_t capacity) const;
|
||||
const std::tuple<uint8_t, float, std::string, float, uint16_t, float> getInfos();
|
||||
std::tuple<uint8_t, float, std::string, float, uint16_t, float> getInfos();
|
||||
const std::string formatTimeRemaining(float hoursRemaining);
|
||||
void setBarClass(std::string&);
|
||||
|
||||
|
|
|
@ -181,7 +181,7 @@ static bool status_gt(const std::string& a, const std::string& b) {
|
|||
return false;
|
||||
}
|
||||
|
||||
const std::tuple<uint8_t, float, std::string, float, uint16_t, float> waybar::modules::Battery::getInfos() {
|
||||
std::tuple<uint8_t, float, std::string, float, uint16_t, float> waybar::modules::Battery::getInfos() {
|
||||
std::lock_guard<std::mutex> guard(battery_list_mutex_);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue