diff options
author | Pelin Kuran <pelinrkuran@gmail.com> | 2020-01-27 14:38:22 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-01-27 21:44:04 +0100 |
commit | f61ed40fff871a5b301b05c9d8e0755f16bf0a83 (patch) | |
tree | a64478c7bb82dd371fdcaf423570ee2834dc7534 /include/tools/cpuid.hxx | |
parent | d23faf1d1ae526cc7af5470e60eb7dc7a46e74cc (diff) |
tdf#124176: Use pragma once instead of header guard
Change-Id: Id28874549342349fb2727c3cb8e92da1dcdb727c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87513
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'include/tools/cpuid.hxx')
-rw-r--r-- | include/tools/cpuid.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/tools/cpuid.hxx b/include/tools/cpuid.hxx index 27e9987398e4..90c7d37b485c 100644 --- a/include/tools/cpuid.hxx +++ b/include/tools/cpuid.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_TOOLS_CPUID_HXX -#define INCLUDED_TOOLS_CPUID_HXX +#pragma once #include <sal/config.h> #include <tools/toolsdllapi.h> @@ -80,6 +79,4 @@ inline bool hasHyperThreading() } // end cpuid -#endif // INCLUDED_TOOLS_CPUID_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |