From b79e71e5f11e14516f13ea2f8437d5deaa10e653 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 20 Mar 2016 12:29:44 +0800 Subject: Tagged Union - Rework to remove indirection --- src/expand/macro_rules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expand/macro_rules.cpp') diff --git a/src/expand/macro_rules.cpp b/src/expand/macro_rules.cpp index d5423cb4..562b1468 100644 --- a/src/expand/macro_rules.cpp +++ b/src/expand/macro_rules.cpp @@ -34,7 +34,7 @@ class CMacroUseHandler: if( !i.is_Module() ) throw ::std::runtime_error("ERROR: Use of #[macro_use] on non-module"); - const auto& submod = i.as_Module().e; + const auto& submod = i.as_Module(); if( mi.has_sub_items() ) { -- cgit v1.2.3