From 1a71720006d2fd3273673badd946ab5fb7c5c4c5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 6 Oct 2016 10:22:07 -0600 Subject: [PATCH] Remove use of nullptr. That is a C++11-ism that is not supported by many toolchains. --- libnxwidgets/include/clistdata.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnxwidgets/include/clistdata.hxx b/libnxwidgets/include/clistdata.hxx index ad8ec3803..c424bc8bd 100644 --- a/libnxwidgets/include/clistdata.hxx +++ b/libnxwidgets/include/clistdata.hxx @@ -261,7 +261,7 @@ namespace NXWidgets { if (index < 0 || index >= m_items.size()) { - return nullptr; + return (const CListDataItem *)0; } else {