summaryrefslogtreecommitdiffstats
path: root/src/storage/punct_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/punct_table.cpp')
-rw-r--r--src/storage/punct_table.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/punct_table.cpp b/src/storage/punct_table.cpp
index d901ded..184be92 100644
--- a/src/storage/punct_table.cpp
+++ b/src/storage/punct_table.cpp
@@ -35,7 +35,7 @@ PunctTableEntry::~PunctTableEntry() {
m_utf8_cache = NULL;
}
-bool PunctTableEntry::escape(const gchar * punct, gint maxlen = -1) {
+bool PunctTableEntry::escape(const gchar * punct, gint maxlen) {
if (maxlen == -1)
maxlen = G_MAXINT;
@@ -54,7 +54,7 @@ bool PunctTableEntry::escape(const gchar * punct, gint maxlen = -1) {
return true;
}
-int PunctTableEntry::unescape(const ucs4_t * punct, gint maxlen = -1) {
+int PunctTableEntry::unescape(const ucs4_t * punct, gint maxlen) {
if (maxlen == -1)
maxlen = G_MAXINT;