summaryrefslogtreecommitdiffstats
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:09 +0200
commit85dd54d9c52545e1995a1f5359f2725eb263d009 (patch)
treebe41d5da5c007cf6ddc178e390b300f3092f4336
parenta62993c00bdc57a1ae93e8016382fe0ca3e635d1 (diff)
downloadtdeedu-85dd54d9c52545e1995a1f5359f2725eb263d009.tar.gz
tdeedu-85dd54d9c52545e1995a1f5359f2725eb263d009.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <[email protected]>
-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;
}