diff options
Diffstat (limited to 'source/slang/slang-check-stmt.cpp')
| -rw-r--r-- | source/slang/slang-check-stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-stmt.cpp b/source/slang/slang-check-stmt.cpp index 89ec82e48..ae817f867 100644 --- a/source/slang/slang-check-stmt.cpp +++ b/source/slang/slang-check-stmt.cpp @@ -340,7 +340,7 @@ namespace Slang } if (stmt->capabilityToken.getContentLength() != 0 && - (set.getExpandedAtoms().getCount() != 1 || set.isInvalid() || set.isEmpty())) + (set.getCapabilityTargetSets().getCount() != 1 || set.isInvalid() || set.isEmpty())) { getSink()->diagnose( stmt->capabilityToken.loc, |
