From: Richard Kimberly Heck Date: Fri, 17 Apr 2020 01:05:38 +0000 (-0400) Subject: Make it nicer, thanks to JMarc X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1002 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=86a4c79dc4002344fba9ebe28c5cd8574f55845c;p=features.git Make it nicer, thanks to JMarc --- diff --git a/src/Server.cpp b/src/Server.cpp index a3556d1663..ab1b6361eb 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;