Set initial STACK_SIZE to 16 (plenty), make it private static member var (ref #4096)
This commit is contained in:
parent
9dac8dcc34
commit
fc25053e8b
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,6 @@
|
|||
#pragma GCC diagnostic pop
|
||||
#include <vector>
|
||||
|
||||
const unsigned int STACK_SIZE = 1 << 7; // 2^n
|
||||
|
||||
struct ScriptRecord
|
||||
{
|
||||
UChar32 startChar = 0;
|
||||
|
@ -107,6 +105,8 @@ private:
|
|||
* for ICU "poor man's RTTI".
|
||||
*/
|
||||
static const char fgClassID;
|
||||
//initial stack size
|
||||
const unsigned int STACK_SIZE = 1 << 4; // 2^n
|
||||
};
|
||||
|
||||
inline ScriptRun::ScriptRun()
|
||||
|
|
Loading…
Reference in a new issue