From 85dd54d9c52545e1995a1f5359f2725eb263d009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 16 Aug 2018 17:18:09 +0200 Subject: [PATCH] Fix FTBFS with stricter C++11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kmplot/kmplot/xparser.cpp | 8 ++++---- 1 file 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; }