summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-base-type-info.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-base-type-info.h')
-rw-r--r--source/slang/slang-base-type-info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-base-type-info.h b/source/slang/slang-base-type-info.h
index 4b96af18f..bad70c6fa 100644
--- a/source/slang/slang-base-type-info.h
+++ b/source/slang/slang-base-type-info.h
@@ -44,7 +44,7 @@ struct BaseTypeInfo
static bool check();
private:
- static const BaseTypeInfo s_info[Index(BaseType::CountOf)];
+ static const BaseTypeInfo s_info[Index(BaseType::CountOfPrimitives)];
};
} // namespace Slang