[script] Let the empty argument tuple take no space for scripts without parameters (#20140)

This commit is contained in:
J. Nick Koston
2026-10-05 12:02:24 +13:00
committed by GitHub
parent 3a06318b65
commit a1a4474a01
+2 -1
View File
@@ -254,7 +254,8 @@ template<class... As, typename... Ts> class ScriptExecuteAction<Script<As...>, T
}
Script<As...> *script_;
Args args_;
// Empty tuple for scripts without parameters; takes no space then
[[no_unique_address]] Args args_;
};
/** Wait for a script to finish before continuing.