From 42890b9e4b81014cf7342bb4510863affb319360 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Thu, 7 Dec 2017 16:54:11 -1000 Subject: [PATCH] null pointer fix --- specter/include/specter/Table.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specter/include/specter/Table.hpp b/specter/include/specter/Table.hpp index 6bcd16f82..d5c91b4fe 100644 --- a/specter/include/specter/Table.hpp +++ b/specter/include/specter/Table.hpp @@ -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