A previous patch introduced a global static ConstString instance. On Windows, this results in a hang because constructing the string pool appears to depend on other globals which haven't yet been initialized.
All other instances of static ConstStrings I could find were function static, so I modified the code to use a static function.
I wonder about returning this by reference. It seems like by convention we usually pass ConstStrings around by value.