summaryrefslogtreecommitdiff
path: root/common/UnitHTTP.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 /common/UnitHTTP.hpp
parent21dfba7db728c72d03e2d8009e595b60b6efa1c8 (diff)
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 'common/UnitHTTP.hpp')
-rw-r--r--common/UnitHTTP.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/UnitHTTP.hpp b/common/UnitHTTP.hpp
index 2eb1c629f..34b225e24 100644
--- a/common/UnitHTTP.hpp
+++ b/common/UnitHTTP.hpp
@@ -6,8 +6,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UNITHTTP_HPP
-#define INCLUDED_UNITHTTP_HPP
+
+#pragma once
#include <memory>
#include <sstream>
@@ -157,6 +157,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */