summaryrefslogtreecommitdiffstats
path: root/kmplot
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-08-16 17:18:09 +0200
committerSlávek Banko <[email protected]>2018-08-16 17:18:19 +0200
commit7de8ea1b8b42d4d32974a277c1d56304bf3b7b82 (patch)
treefb9272406219fb6a36a1c6afd0ca06ea67fbd71e /kmplot
parent5861e21ee52c881754f86302444d78132f56ecee (diff)
downloadtdeedu-7de8ea1b8b42d4d32974a277c1d56304bf3b7b82.tar.gz
tdeedu-7de8ea1b8b42d4d32974a277c1d56304bf3b7b82.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 85dd54d9c52545e1995a1f5359f2725eb263d009)
Diffstat (limited to 'kmplot')
-rw-r--r--kmplot/kmplot/xparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmplot/kmplot/xparser.cpp b/kmplot/kmplot/xparser.cpp
index acf7ecdb..4ab4300f 100644
--- a/kmplot/kmplot/xparser.cpp
+++ b/kmplot/kmplot/xparser.cpp
@@ -521,7 +521,7 @@ TQString XParser::functionMinValue(uint id)
{
int const ix = ixValue(id);
if (ix==-1)
- return int();
+ return TQString();
return ufkt[ix].str_dmin;
}
@@ -539,7 +539,7 @@ TQString XParser::functionMaxValue(uint id)
{
int const ix = ixValue(id);
if (ix==-1)
- return int();
+ return TQString();
return ufkt[ix].str_dmax;
}
@@ -557,7 +557,7 @@ TQString XParser::functionStartXValue(uint id)
{
int const ix = ixValue(id);
if (ix==-1)
- return int();
+ return TQString();
return ufkt[ix].str_startx;
}
@@ -575,7 +575,7 @@ TQString XParser::functionStartYValue(uint id)
{
int const ix = ixValue(id);
if (ix==-1)
- return int();
+ return TQString();
return ufkt[ix].str_starty;
}