diff options
author | Tor Lillqvist <tml@collabora.com> | 2020-04-18 11:39:50 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-04-18 15:00:18 +0200 |
commit | 4eb598711cd6162452a28285abbd65c6397f58bf (patch) | |
tree | 3f4d0f5562b715e7d940f5fda144cc5ed88532de /net/SslSocket.hpp | |
parent | 21dfba7db728c72d03e2d8009e595b60b6efa1c8 (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 'net/SslSocket.hpp')
-rw-r--r-- | net/SslSocket.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/SslSocket.hpp b/net/SslSocket.hpp index e7853c33f..4d5745485 100644 --- a/net/SslSocket.hpp +++ b/net/SslSocket.hpp @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SSLSOCKET_HPP -#define INCLUDED_SSLSOCKET_HPP +#pragma once #include <cerrno> @@ -309,6 +308,4 @@ private: bool _doHandshake; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |