Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-06-19 16:14:40 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-06-19 16:30:18 +0300
commit697b1736ef0549ab84b7e62d599bae85d510540d (patch)
treef13dd6b471191c126aebe564e6add34d2905d4a7 /source/blender/io/alembic/exporter
parent1a448c66edf26ceb4fc4f0daad7375f0ae5f84cf (diff)
Cleanup: Alembic, replace `#ifndef` guards with `#pragma once`
No functional changes.
Diffstat (limited to 'source/blender/io/alembic/exporter')
-rw-r--r--source/blender/io/alembic/exporter/abc_exporter.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_archive.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_camera.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_curves.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_hair.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_mball.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_mesh.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_nurbs.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_object.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_points.h6
-rw-r--r--source/blender/io/alembic/exporter/abc_writer_transform.h6
11 files changed, 11 insertions, 55 deletions
diff --git a/source/blender/io/alembic/exporter/abc_exporter.h b/source/blender/io/alembic/exporter/abc_exporter.h
index f3ca1710e33..af30f2ceb50 100644
--- a/source/blender/io/alembic/exporter/abc_exporter.h
+++ b/source/blender/io/alembic/exporter/abc_exporter.h
@@ -13,14 +13,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_EXPORTER_H__
-#define __ABC_EXPORTER_H__
-
#include <Alembic/Abc/All.h>
#include <map>
#include <set>
@@ -131,5 +129,3 @@ class AbcExporter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_EXPORTER_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_archive.h b/source/blender/io/alembic/exporter/abc_writer_archive.h
index 81dd387e720..db13dc0ec92 100644
--- a/source/blender/io/alembic/exporter/abc_writer_archive.h
+++ b/source/blender/io/alembic/exporter/abc_writer_archive.h
@@ -16,14 +16,12 @@
* The Original Code is Copyright (C) 2016 Kévin Dietrich.
* All rights reserved.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_ARCHIVE_H__
-#define __ABC_WRITER_ARCHIVE_H__
-
#include <Alembic/Abc/All.h>
#include <Alembic/AbcCoreOgawa/All.h>
@@ -54,5 +52,3 @@ class ArchiveWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_ARCHIVE_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_camera.h b/source/blender/io/alembic/exporter/abc_writer_camera.h
index 44b80984411..befa1e24551 100644
--- a/source/blender/io/alembic/exporter/abc_writer_camera.h
+++ b/source/blender/io/alembic/exporter/abc_writer_camera.h
@@ -13,14 +13,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_CAMERA_H__
-#define __ABC_WRITER_CAMERA_H__
-
#include "abc_writer_object.h"
/* ************************************************************************** */
@@ -49,5 +47,3 @@ class AbcCameraWriter : public AbcObjectWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_CAMERA_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_curves.h b/source/blender/io/alembic/exporter/abc_writer_curves.h
index 35fb063c4a5..d12ebc46a22 100644
--- a/source/blender/io/alembic/exporter/abc_writer_curves.h
+++ b/source/blender/io/alembic/exporter/abc_writer_curves.h
@@ -16,14 +16,12 @@
* The Original Code is Copyright (C) 2016 Kévin Dietrich.
* All rights reserved.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_CURVES_H__
-#define __ABC_WRITER_CURVES_H__
-
#include "abc_writer_mesh.h"
#include "abc_writer_object.h"
@@ -59,5 +57,3 @@ class AbcCurveMeshWriter : public AbcGenericMeshWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_CURVES_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_hair.h b/source/blender/io/alembic/exporter/abc_writer_hair.h
index b6860926d44..d7831684a12 100644
--- a/source/blender/io/alembic/exporter/abc_writer_hair.h
+++ b/source/blender/io/alembic/exporter/abc_writer_hair.h
@@ -13,14 +13,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_HAIR_H__
-#define __ABC_WRITER_HAIR_H__
-
#include "abc_writer_object.h"
struct Mesh;
@@ -67,5 +65,3 @@ class AbcHairWriter : public AbcObjectWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_HAIR_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_mball.h b/source/blender/io/alembic/exporter/abc_writer_mball.h
index f527b2b02a0..d632f0bd410 100644
--- a/source/blender/io/alembic/exporter/abc_writer_mball.h
+++ b/source/blender/io/alembic/exporter/abc_writer_mball.h
@@ -13,14 +13,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_MBALL_H__
-#define __ABC_WRITER_MBALL_H__
-
#include "abc_writer_mesh.h"
#include "abc_writer_object.h"
@@ -60,5 +58,3 @@ class AbcMBallWriter : public AbcGenericMeshWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_MBALL_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_mesh.h b/source/blender/io/alembic/exporter/abc_writer_mesh.h
index e4095758ba9..412c5530b32 100644
--- a/source/blender/io/alembic/exporter/abc_writer_mesh.h
+++ b/source/blender/io/alembic/exporter/abc_writer_mesh.h
@@ -13,14 +13,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_MESH_H__
-#define __ABC_WRITER_MESH_H__
-
#include "abc_writer_object.h"
#include "intern/abc_customdata.h"
@@ -95,5 +93,3 @@ class AbcMeshWriter : public AbcGenericMeshWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_MESH_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_nurbs.h b/source/blender/io/alembic/exporter/abc_writer_nurbs.h
index 006024c4d2f..b2a9cf1b786 100644
--- a/source/blender/io/alembic/exporter/abc_writer_nurbs.h
+++ b/source/blender/io/alembic/exporter/abc_writer_nurbs.h
@@ -13,14 +13,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_NURBS_H__
-#define __ABC_WRITER_NURBS_H__
-
#include "abc_writer_object.h"
namespace blender {
@@ -46,5 +44,3 @@ class AbcNurbsWriter : public AbcObjectWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_NURBS_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_object.h b/source/blender/io/alembic/exporter/abc_writer_object.h
index 0496c6a3624..7f8e8735812 100644
--- a/source/blender/io/alembic/exporter/abc_writer_object.h
+++ b/source/blender/io/alembic/exporter/abc_writer_object.h
@@ -13,14 +13,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_OBJECT_H__
-#define __ABC_WRITER_OBJECT_H__
-
#include <Alembic/Abc/All.h>
#include <Alembic/AbcGeom/All.h>
@@ -73,5 +71,3 @@ class AbcObjectWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_OBJECT_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_points.h b/source/blender/io/alembic/exporter/abc_writer_points.h
index 5763808d6a7..7e8a3eaadcd 100644
--- a/source/blender/io/alembic/exporter/abc_writer_points.h
+++ b/source/blender/io/alembic/exporter/abc_writer_points.h
@@ -16,14 +16,12 @@
* The Original Code is Copyright (C) 2016 Kévin Dietrich.
* All rights reserved.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_POINTS_H__
-#define __ABC_WRITER_POINTS_H__
-
#include "abc_writer_object.h"
#include "intern/abc_customdata.h"
@@ -53,5 +51,3 @@ class AbcPointsWriter : public AbcObjectWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_POINTS_H__ */
diff --git a/source/blender/io/alembic/exporter/abc_writer_transform.h b/source/blender/io/alembic/exporter/abc_writer_transform.h
index af50929a963..fc997d77f4c 100644
--- a/source/blender/io/alembic/exporter/abc_writer_transform.h
+++ b/source/blender/io/alembic/exporter/abc_writer_transform.h
@@ -13,14 +13,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#pragma once
/** \file
* \ingroup balembic
*/
-#ifndef __ABC_WRITER_TRANSFORM_H__
-#define __ABC_WRITER_TRANSFORM_H__
-
#include "abc_writer_object.h"
#include <Alembic/AbcGeom/All.h>
@@ -64,5 +62,3 @@ class AbcTransformWriter : public AbcObjectWriter {
} // namespace alembic
} // namespace io
} // namespace blender
-
-#endif /* __ABC_WRITER_TRANSFORM_H__ */