From 86a4c79dc4002344fba9ebe28c5cd8574f55845c 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 --- src/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2