summaryrefslogtreecommitdiff
path: root/src/expand/mod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r--src/expand/mod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp
index 8eb6dd87..78225a2f 100644
--- a/src/expand/mod.cpp
+++ b/src/expand/mod.cpp
@@ -47,8 +47,8 @@ void Expand_Attrs(const ::AST::MetaItems& attrs, AttrStage stage, ::std::functi
for( auto& a : attrs.m_items )
{
if( a.name() == "cfg_attr" ) {
- if( check_cfg(a.items().m_items.at(0)) ) {
- Expand_Attr(a.items().m_items.at(1), stage, f);
+ if( check_cfg(a.items().at(0)) ) {
+ Expand_Attr(a.items().at(1), stage, f);
}
}
else {