summaryrefslogtreecommitdiff
path: root/src/widget_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget_type.h')
-rw-r--r--src/widget_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget_type.h b/src/widget_type.h
index 0467630c9..9d1702488 100644
--- a/src/widget_type.h
+++ b/src/widget_type.h
@@ -374,7 +374,7 @@ public:
void FillNestedArray(NWidgetBase **array, uint length) override;
/** Return whether the container is empty. */
- inline bool IsEmpty() { return head == NULL; }
+ inline bool IsEmpty() { return head == nullptr; }
NWidgetBase *GetWidgetOfType(WidgetType tp) override;
@@ -544,7 +544,7 @@ public:
*/
class NWidgetBackground : public NWidgetCore {
public:
- NWidgetBackground(WidgetType tp, Colours colour, int index, NWidgetPIPContainer *child = NULL);
+ NWidgetBackground(WidgetType tp, Colours colour, int index, NWidgetPIPContainer *child = nullptr);
~NWidgetBackground();
void Add(NWidgetBase *nwid);