From fea1026bb8e2b5bfdf247491658c384805b51813 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 4 Jan 2021 13:10:22 +1100 Subject: Cleanup: use 'pragma once' Add explanations for cases the header-guard defines are still used. --- source/blender/compositor/nodes/COM_ColorExposureNode.h | 5 +---- source/blender/compositor/operations/COM_ColorExposureOperation.h | 5 ++--- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'source/blender/compositor') diff --git a/source/blender/compositor/nodes/COM_ColorExposureNode.h b/source/blender/compositor/nodes/COM_ColorExposureNode.h index 18aefb7eae4..c17e798b979 100644 --- a/source/blender/compositor/nodes/COM_ColorExposureNode.h +++ b/source/blender/compositor/nodes/COM_ColorExposureNode.h @@ -16,8 +16,7 @@ * Copyright 2020, Blender Foundation. */ -#ifndef __COM_EXPOSURENODE_H__ -#define __COM_EXPOSURENODE_H__ +#pragma once #include "COM_Node.h" @@ -30,5 +29,3 @@ class ExposureNode : public Node { ExposureNode(bNode *editorNode); void convertToOperations(NodeConverter &converter, const CompositorContext &context) const; }; - -#endif diff --git a/source/blender/compositor/operations/COM_ColorExposureOperation.h b/source/blender/compositor/operations/COM_ColorExposureOperation.h index a65d5acbe6c..2b5f20f28f0 100644 --- a/source/blender/compositor/operations/COM_ColorExposureOperation.h +++ b/source/blender/compositor/operations/COM_ColorExposureOperation.h @@ -16,8 +16,8 @@ * Copyright 2020, Blender Foundation. */ -#ifndef __COM_COLOREXPOSUREOPERATION_H__ -#define __COM_COLOREXPOSUREOPERATION_H__ +#pragma once + #include "COM_NodeOperation.h" class ExposureOperation : public NodeOperation { @@ -46,4 +46,3 @@ class ExposureOperation : public NodeOperation { */ void deinitExecution(); }; -#endif -- cgit v1.2.3