diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:26:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:26:43 +0200 |
commit | 34c2adbdfb32927468778e786437eecf8ece8249 (patch) | |
tree | 2908c54722373862e72eac77ba92c147934b9aac /hwpfilter | |
parent | b37fa7fc97a9009933319aae568dda5a5054b4a6 (diff) |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Ia48650597a4854cbb92ef203b3c1338b4f47becc
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/mzstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h index f3110a6126e8..b5d2656ddbe4 100644 --- a/hwpfilter/source/mzstring.h +++ b/hwpfilter/source/mzstring.h @@ -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 ""; } |