summaryrefslogtreecommitdiff
path: root/src/ast/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r--src/ast/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp
index 103ca1b2..4f83ae34 100644
--- a/src/ast/path.cpp
+++ b/src/ast/path.cpp
@@ -267,7 +267,7 @@ void Path::bind_enum_var(const Enum& ent, const ::std::string& name, const ::std
unsigned int idx = 0;
for( idx = 0; idx < ent.variants().size(); idx ++ )
{
- if( ent.variants()[idx].name == name ) {
+ if( ent.variants()[idx].m_name == name ) {
break;
}
}