Typecast nullptr in ListColumn::getFirstSelectedElem()

develop
lethosor 2015-01-08 23:01:14 -05:00
parent 481e5cc19e
commit 990ab9c76b
1 changed files with 1 additions and 1 deletions

@ -719,7 +719,7 @@ public:
{
vector<T> results = getSelectedElems(true);
if (results.size() == 0)
return nullptr;
return (T)nullptr;
else
return results[0];
}