Kaydet (Commit) 57f39468 authored tarafından Eike Rathke's avatar Eike Rathke

don't sync vars twice

Change-Id: I2052aa0ac750f6e1c004f886bf29f9b96cf11bb6
üst f7ff594a
......@@ -1216,7 +1216,9 @@ void LanguageTag::syncFromImpl()
void LanguageTag::syncVarsFromImpl() const
{
getImpl();
if (!mpImpl)
getImpl(); // with side effect syncVarsFromRawImpl()
else
syncVarsFromRawImpl();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment