[Libreoffice-commits] online.git: loolwsd/MasterProcessSession.cpp loolwsd/MasterProcessSession.hpp

Henry Castro hcastro at collabora.com
Mon Jan 25 17:16:28 PST 2016


 loolwsd/MasterProcessSession.cpp |    2 --
 loolwsd/MasterProcessSession.hpp |    2 --
 2 files changed, 4 deletions(-)

New commits:
commit be33224133afdebe43f6cfd032bdc496e75c8c8d
Author: Henry Castro <hcastro at collabora.com>
Date:   Mon Jan 25 21:15:19 2016 -0400

    loolwsd: remove unnecessary map ChildProcesses

diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index aa57798..c8b1642 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -31,8 +31,6 @@ using Poco::Process;
 using Poco::StringTokenizer;
 using Poco::UInt64;
 
-std::map<Process::PID, UInt64> MasterProcessSession::ChildProcesses;
-
 std::map<std::string, std::shared_ptr<MasterProcessSession>> MasterProcessSession::AvailableChildSessions;
 std::mutex MasterProcessSession::AvailableChildSessionMutex;
 std::condition_variable MasterProcessSession::AvailableChildSessionCV;
diff --git a/loolwsd/MasterProcessSession.hpp b/loolwsd/MasterProcessSession.hpp
index 73ede56..5b73717 100644
--- a/loolwsd/MasterProcessSession.hpp
+++ b/loolwsd/MasterProcessSession.hpp
@@ -26,8 +26,6 @@ public:
 
     bool haveSeparateProcess();
 
-    static std::map<Poco::Process::PID, Poco::UInt64> ChildProcesses;
-
     virtual bool getStatus(const char *buffer, int length) override;
 
     virtual bool getCommandValues(const char *buffer, int length, Poco::StringTokenizer& tokens) override;


More information about the Libreoffice-commits mailing list