[LyX/2.3.x] Make it nicer, thanks to JMarc

Richard Kimberly Heck rikiheck at lyx.org
Fri Apr 17 00:48:54 UTC 2020


commit f293de29d941ee8c0374c0606ec162128ce7eca1
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Thu Apr 16 21:05:38 2020 -0400

    Make it nicer, thanks to JMarc
    
    (cherry picked from commit 86a4c79dc4002344fba9ebe28c5cd8574f55845c)
---
 src/Server.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Server.cpp b/src/Server.cpp
index 17829da..ddc8b7c 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -1002,7 +1002,7 @@ struct Sleep : QThread
 
 bool LyXComm::loadFilesInOtherInstance()
 {
-	if (theFilesToLoad().size() == 0)
+	if (theFilesToLoad().empty())
 		return true;
 
 	int pipefd;


More information about the lyx-cvs mailing list