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:
authorCampbell Barton <ideasman42@gmail.com>2021-01-04 05:10:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-04 09:38:11 +0300
commitfea1026bb8e2b5bfdf247491658c384805b51813 (patch)
tree5832a7cf88c0190a7f0f1933507dfaf8ca6965bb /source/blender/blenloader/tests
parentdfbda59a66bf15827ed127e61c0cbb4de5563db6 (diff)
Cleanup: use 'pragma once'
Add explanations for cases the header-guard defines are still used.
Diffstat (limited to 'source/blender/blenloader/tests')
-rw-r--r--source/blender/blenloader/tests/blendfile_loading_base_test.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenloader/tests/blendfile_loading_base_test.h b/source/blender/blenloader/tests/blendfile_loading_base_test.h
index f90e07218fb..32bb2959dcc 100644
--- a/source/blender/blenloader/tests/blendfile_loading_base_test.h
+++ b/source/blender/blenloader/tests/blendfile_loading_base_test.h
@@ -15,8 +15,8 @@
*
* The Original Code is Copyright (C) 2019 by Blender Foundation.
*/
-#ifndef __BLENDFILE_LOADING_BASE_TEST_H__
-#define __BLENDFILE_LOADING_BASE_TEST_H__
+
+#pragma once
#include "DEG_depsgraph.h"
#include "testing/testing.h"
@@ -60,5 +60,3 @@ class BlendfileLoadingBaseTest : public testing::Test {
/* Free the depsgraph if it's not nullptr. */
virtual void depsgraph_free();
};
-
-#endif /* __BLENDFILE_LOADING_BASE_TEST_H__ */