Kaydet (Commit) 34c2adbd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with those that are (technically) const_cast

Change-Id: Ia48650597a4854cbb92ef203b3c1338b4f47becc
üst b37fa7fc
......@@ -163,7 +163,7 @@ inline const char* MzString::c_str() const
if (Data)
{
Data[Length] = '\0'; // We always leave room for this.
return (const char *)Data;
return Data;
} else
return "";
}
......
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