Fix FTBFS with stricter C++11

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 85dd54d9c5)
pull/9/head
Slávek Banko 6 years ago
parent 5861e21ee5
commit 7de8ea1b8b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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;
}

Loading…
Cancel
Save