summaryrefslogtreecommitdiff
path: root/include/tools/cpuid.hxx
diff options
context:
space:
mode:
authorPelin Kuran <pelinrkuran@gmail.com>2020-01-27 14:38:22 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-27 21:44:04 +0100
commitf61ed40fff871a5b301b05c9d8e0755f16bf0a83 (patch)
treea64478c7bb82dd371fdcaf423570ee2834dc7534 /include/tools/cpuid.hxx
parentd23faf1d1ae526cc7af5470e60eb7dc7a46e74cc (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.hxx5
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: */