summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ast-decl.cpp')
-rw-r--r--source/slang/slang-ast-decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ast-decl.cpp b/source/slang/slang-ast-decl.cpp
index 1e2d11600..817230984 100644
--- a/source/slang/slang-ast-decl.cpp
+++ b/source/slang/slang-ast-decl.cpp
@@ -493,7 +493,7 @@ InterfaceDecl* ThisTypeConstraintDecl::getInterfaceDecl()
void AggTypeDecl::addTag(TypeTag tag)
{
- typeTags = (TypeTag)((int)tag | (int)tag);
+ typeTags = (TypeTag)((int)typeTags | (int)tag);
}
bool AggTypeDecl::hasTag(TypeTag tag)