Skip to content

Commit 56c55ad

Browse files
committed
GCC 14 compatibility
1 parent 3a1f4fe commit 56c55ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/displayapp/screens/Navigation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ namespace {
176176
return {iconsFile1, static_cast<int16_t>(iconHeight * (index - maxIconsPerFile))};
177177
}
178178

179-
Icon GetIcon(const std::string& icon) {
179+
Icon GetIcon(std::string_view icon) {
180180
for (const auto& iter : iconMap) {
181181
if (iter.first == icon) {
182182
return GetIcon(iter.second);

0 commit comments

Comments
 (0)