]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/errordialog.h
Use nullptr in place of 0 or NULL
[libs/gui.git] / source / graphics / errordialog.h
index 7ece72e3fd483bd3aa57ae7fd1e2e02b07df7ab0..6885834b4cbc37e55592044e326d653d62d31356 100644 (file)
@@ -11,12 +11,12 @@ class Display;
 class ErrorDialog: public Debug::ErrorReporter
 {
 private:
-       Display *display;
+       Display *display = nullptr;
 
 public:
        ErrorDialog(Display *d): display(d) { }
 
-       virtual bool report_uncaught_exception(const std::exception &) const;
+       bool report_uncaught_exception(const std::exception &) const override;
 };
 
 } // namespace Graphics