From 2732115080036e4333fd025ca00396b3ff48c624 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 24 Jul 2022 18:56:34 +1000 Subject: tdf#143148 tools: Use pragma once instead of include guards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie34bc66eb1dc475566b315db698976913c8aa37b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137390 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/tools/gen.hxx | 6 ++---- 1 file 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 @@ -823,6 +823,4 @@ inline std::basic_ostream & operator <<( } } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3