aboutsummaryrefslogtreecommitdiff
path: root/rcc_format
diff options
context:
space:
mode:
Diffstat (limited to 'rcc_format')
-rw-r--r--rcc_format/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcc_format/util.py b/rcc_format/util.py
index af6651b..2cd6341 100644
--- a/rcc_format/util.py
+++ b/rcc_format/util.py
@@ -51,11 +51,11 @@ def write_footer(file, namespace):
constexpr auto get(StrViewLambda name) {
static_assert(std::is_same_v<std::string_view, decltype(name())>);
- constexpr auto x = std::find_if(icons::entries.begin(), icons::entries.end(),
+ constexpr auto x = std::find_if(entries.begin(), entries.end(),
[=](const auto &tuple) -> bool {
return std::get<0>(tuple) == name();
});
- static_assert(x != icons::entries.end());
+ static_assert(x != entries.end());
return std::get<1>(*x);
}""", file=file)