summaryrefslogtreecommitdiffstats
path: root/wsd/Storage.hpp
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-04-18 11:39:50 +0300
committerTor Lillqvist <tml@collabora.com>2020-04-18 15:00:18 +0200
commit4eb598711cd6162452a28285abbd65c6397f58bf (patch)
tree3f4d0f5562b715e7d940f5fda144cc5ed88532de /wsd/Storage.hpp
parentClarify what a DocumentBroker is and in which process they exist (diff)
downloadonline-4eb598711cd6162452a28285abbd65c6397f58bf.tar.gz
online-4eb598711cd6162452a28285abbd65c6397f58bf.zip
Use #pragma once
LibreOffice core uses that, too, and we support an even more restricted set of compilers. Change-Id: I0d0e2c8608e323eb5ef0f35ee8c46d02ab49a745 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92467 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'wsd/Storage.hpp')
-rw-r--r--wsd/Storage.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/wsd/Storage.hpp b/wsd/Storage.hpp
index bb678ac8aa..78eab64348 100644
--- a/wsd/Storage.hpp
+++ b/wsd/Storage.hpp
@@ -8,8 +8,8 @@
*/
// Storage abstraction.
-#ifndef INCLUDED_STORAGE_HPP
-#define INCLUDED_STORAGE_HPP
+
+#pragma once
#include <set>
#include <string>
@@ -626,6 +626,4 @@ private:
std::unique_ptr<AuthBase> _authAgent;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */