]> git.lyx.org Git - features.git/commitdiff
Make it nicer, thanks to JMarc
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 17 Apr 2020 01:05:38 +0000 (21:05 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 17 Apr 2020 01:05:38 +0000 (21:05 -0400)
src/Server.cpp

index a3556d16632a30f3e0537b16100bb4609d2ea218..ab1b6361eb21375e3fa77ac704f112927fd00cf8 100644 (file)
@@ -1002,7 +1002,7 @@ struct Sleep : QThread
 
 bool LyXComm::loadFilesInOtherInstance()
 {
-       if (theFilesToLoad().size() == 0)
+       if (theFilesToLoad().empty())
                return true;
 
        int pipefd;