]> 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:12:30 +0000 (21:12 -0400)
(cherry picked from commit 86a4c79dc4002344fba9ebe28c5cd8574f55845c)

src/Server.cpp

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