From f293de29d941ee8c0374c0606ec162128ce7eca1 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Thu, 16 Apr 2020 21:05:38 -0400 Subject: [PATCH] Make it nicer, thanks to JMarc (cherry picked from commit 86a4c79dc4002344fba9ebe28c5cd8574f55845c) --- src/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5