From d6a9571641bcb34acb3521feb08eea33195fd9ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 13:59:47 -0500 Subject: Use nullptr --- src/gui/GraphView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/GraphView.cpp') diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index 591536ac..29a89b16 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -39,8 +39,8 @@ namespace GUI { GraphView::GraphView(BaseObjectType* cobject, const Glib::RefPtr& xml) : Gtk::Box(cobject) - , _app(NULL) - , _breadcrumb_container(NULL) + , _app(nullptr) + , _breadcrumb_container(nullptr) , _enable_signal(true) { property_visible() = false; @@ -104,7 +104,7 @@ GraphView::set_graph(SPtr graph) SPtr GraphView::create(App& app, SPtr graph) { - GraphView* result = NULL; + GraphView* result = nullptr; Glib::RefPtr xml = WidgetFactory::create("warehouse_win"); xml->get_widget_derived("graph_view_box", result); result->init(app); -- cgit v1.2.1