null pointer fix

This commit is contained in:
Jack Andersen 2017-12-07 16:54:11 -10:00
parent 01e0bfde7e
commit 42890b9e4b
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ struct ITableDataBinding
{
virtual size_t columnCount() const=0;
virtual size_t rowCount() const=0;
virtual std::string_view header(size_t cIdx) const {return nullptr;}
virtual std::string_view cell(size_t cIdx, size_t rIdx) const {return nullptr;}
virtual std::string_view header(size_t cIdx) const { return {}; }
virtual std::string_view cell(size_t cIdx, size_t rIdx) const { return {}; }
};
struct ITableStateBinding