summaryrefslogtreecommitdiffstats
path: root/wsd/AdminModel.hpp
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2020-06-03 10:43:52 -0400
committerAshod Nakashian <ashnakash@gmail.com>2020-07-01 07:40:10 +0200
commit02da27a4364b44ddb57936070d6b36a7d53d3498 (patch)
tree73ed1a6e19a2bf9cd74f46decdd2ade0df3d28c6 /wsd/AdminModel.hpp
parentwsd: add http-headers unit-test (diff)
downloadonline-02da27a4364b44ddb57936070d6b36a7d53d3498.tar.gz
online-02da27a4364b44ddb57936070d6b36a7d53d3498.zip
wsd: improve readability
Change-Id: I2f85ebff783ebb799324b0aa95f5d0d023c19231 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96381 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Jenkins Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'wsd/AdminModel.hpp')
-rw-r--r--wsd/AdminModel.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/wsd/AdminModel.hpp b/wsd/AdminModel.hpp
index 43da0cd1d1..d4a4513ce4 100644
--- a/wsd/AdminModel.hpp
+++ b/wsd/AdminModel.hpp
@@ -9,15 +9,17 @@
#pragma once
+#include <cmath>
+#include <ctime>
+#include <list>
#include <memory>
#include <set>
#include <string>
-#include <cmath>
-#include <list>
+#include <utility>
-#include "Log.hpp"
-#include "net/WebSocketHandler.hpp"
+#include <common/Log.hpp>
#include "Util.hpp"
+#include "net/WebSocketHandler.hpp"
struct DocumentAggregateStats;
@@ -161,7 +163,7 @@ public:
fclose(_procSMaps);
}
- const std::string getDocKey() const { return _docKey; }
+ std::string getDocKey() const { return _docKey; }
pid_t getPid() const { return _pid; }