summaryrefslogtreecommitdiff
path: root/include/tools/gen.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2022-07-24 18:56:34 +1000
committerTomaž Vajngerl <quikee@gmail.com>2022-07-28 16:24:28 +0200
commit2732115080036e4333fd025ca00396b3ff48c624 (patch)
tree2dceb073fd0a9c96853eccadc48112710e32cb74 /include/tools/gen.hxx
parent6c2ae836aa6125e995f86985557c006c837a19bd (diff)
tdf#143148 tools: Use pragma once instead of include guards
Change-Id: Ie34bc66eb1dc475566b315db698976913c8aa37b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137390 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/tools/gen.hxx')
-rw-r--r--include/tools/gen.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx
index 5ed473c62857..35a510124749 100644
--- a/include/tools/gen.hxx
+++ b/include/tools/gen.hxx
@@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_TOOLS_GEN_HXX
-#define INCLUDED_TOOLS_GEN_HXX
+
+#pragma once
#include <tools/toolsdllapi.h>
@@ -823,6 +823,4 @@ inline std::basic_ostream<charT, traits> & operator <<(
}
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */