From 39a38d5679084b515276285c044d8a27e671adb1 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 18 Mar 2016 07:55:01 +0100 Subject: Wholesale conversion to #pragma once Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger --- src/plugins/pythoneditor/pythoneditorconstants.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/plugins/pythoneditor/pythoneditorconstants.h') diff --git a/src/plugins/pythoneditor/pythoneditorconstants.h b/src/plugins/pythoneditor/pythoneditorconstants.h index 24a8cff3ef..a84281aaa5 100644 --- a/src/plugins/pythoneditor/pythoneditorconstants.h +++ b/src/plugins/pythoneditor/pythoneditorconstants.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef PYTHONEDITOR_CONSTANTS_H -#define PYTHONEDITOR_CONSTANTS_H +#pragma once #include @@ -43,5 +42,3 @@ const char C_PY_MIME_ICON[] = "text-x-python"; } // namespace Constants } // namespace PythonEditor - -#endif // PYTHONEDITOR_CONSTANTS_H -- cgit v1.2.1