summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source')
-rw-r--r--hwpfilter/source/mzstring.cxx2
-rw-r--r--hwpfilter/source/mzstring.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/mzstring.cxx b/hwpfilter/source/mzstring.cxx
index 483809a5fbcb..b99b9d0044ee 100644
--- a/hwpfilter/source/mzstring.cxx
+++ b/hwpfilter/source/mzstring.cxx
@@ -57,7 +57,7 @@ MzString::~MzString()
}
-MzString &MzString::operator = (MzString &s)
+MzString &MzString::operator=(const MzString &s)
{
int n = s.length();
if (allocate(n))
diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h
index 574033df78a1..4afb0e54fb8a 100644
--- a/hwpfilter/source/mzstring.h
+++ b/hwpfilter/source/mzstring.h
@@ -93,7 +93,7 @@ class MzString
bool resize(int len);
// Assignment
- MzString &operator = (MzString &s);
+ MzString &operator = (const MzString &s);
MzString &operator = (const char *s);
// Appending