From: Richard Kimberly Heck Date: Fri, 17 Apr 2020 01:05:38 +0000 (-0400) Subject: Make it nicer, thanks to JMarc X-Git-Tag: 2.3.5~62 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f293de29d941ee8c0374c0606ec162128ce7eca1;p=features.git Make it nicer, thanks to JMarc (cherry picked from commit 86a4c79dc4002344fba9ebe28c5cd8574f55845c) --- diff --git a/src/Server.cpp b/src/Server.cpp index 17829da77c..ddc8b7cf84 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;