changeset 1317:8981bfca3457 broker

fix nullptr
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 17 Mar 2020 08:37:12 +0100
parents 7045a0ff32c4
children cbfdba08e039
files Applications/Generic/GuiAdapter.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Generic/GuiAdapter.cpp	Mon Mar 16 11:21:57 2020 +0100
+++ b/Applications/Generic/GuiAdapter.cpp	Tue Mar 17 08:37:12 2020 +0100
@@ -610,7 +610,7 @@
     for (size_t i = 0; i < resizeHandlers_.size(); i++)
     {
       (*(resizeHandlers_[i].func))(
-        resizeHandlers_[i].canvasName, nullptr, width, height, resizeHandlers_[i].userData);
+        resizeHandlers_[i].canvasName, NULL, width, height, resizeHandlers_[i].userData);
     }
   }