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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ast-decl.cpp b/source/slang/slang-ast-decl.cpp
index c0d0e9242..530f983d9 100644
--- a/source/slang/slang-ast-decl.cpp
+++ b/source/slang/slang-ast-decl.cpp
@@ -2,7 +2,7 @@
#include "slang-ast-decl.h"
#include "slang-ast-builder.h"
-#include "slang-generated-ast-macro.h"
+#include "slang-ast-dispatch.h"
#include "slang-syntax.h"
#include <assert.h>
@@ -12,7 +12,7 @@ namespace Slang
const TypeExp& TypeConstraintDecl::getSup() const
{
- SLANG_AST_NODE_CONST_VIRTUAL_CALL(TypeConstraintDecl, getSup, ())
+ SLANG_AST_NODE_VIRTUAL_CALL(TypeConstraintDecl, getSup, ())
}
const TypeExp& TypeConstraintDecl::_getSupOverride() const