custom-buildsystem: define array length explicitly to catch non-match size

parent 266d644c
......@@ -32,7 +32,7 @@ QString generateToolGroupName( CustomBuildSystemTool::ActionType type )
static const int toolTypeCount = CustomBuildSystemTool::Undefined + 1;
// Static Qt-based objects are discouraged (MSVC-incompatible), so use raw strings
static const char* const toolTypes[] = {
static const char* const toolTypes[toolTypeCount] = {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment