[LyX/master] Fix nullptr warnings
Richard Kimberly Heck
rikiheck at lyx.org
Sun Mar 1 20:12:57 UTC 2020
commit bd0bf2125c823df284a8dc5a7f7123bf952f989c
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Sun Mar 1 15:31:52 2020 -0500
Fix nullptr warnings
---
src/support/Systemcall.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp
index a270b41..f5b6c27 100644
--- a/src/support/Systemcall.cpp
+++ b/src/support/Systemcall.cpp
@@ -78,7 +78,7 @@ public:
};
-static ProgressInterface * progress_instance = 0;
+static ProgressInterface * progress_instance = nullptr;
void ProgressInterface::setInstance(ProgressInterface* p)
{
@@ -639,7 +639,7 @@ int SystemcallPrivate::exitCode()
QProcess* SystemcallPrivate::releaseProcess()
{
QProcess* released = process_;
- process_ = 0;
+ process_ = nullptr;
return released;
}
More information about the lyx-cvs
mailing list