diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-13 14:12:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-13 14:12:43 +0300 |
commit | f795bdbf21a9ae7a774137154a9458e15cff6cd8 (patch) | |
tree | 5ae2ac380a4a54391cfbfb8be8d18ea96723a52c /source/blender/blenlib/BLI_memory_utils_cxx.h | |
parent | 9e60e860577f536841a8865cb5328b98895644e3 (diff) |
Cleanup: use header guards
Diffstat (limited to 'source/blender/blenlib/BLI_memory_utils_cxx.h')
-rw-r--r-- | source/blender/blenlib/BLI_memory_utils_cxx.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_memory_utils_cxx.h b/source/blender/blenlib/BLI_memory_utils_cxx.h index 7bfc885b7f6..22f333c6303 100644 --- a/source/blender/blenlib/BLI_memory_utils_cxx.h +++ b/source/blender/blenlib/BLI_memory_utils_cxx.h @@ -14,12 +14,13 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef __BLI_MEMORY_UTILS_CXX_H__ +#define __BLI_MEMORY_UTILS_CXX_H__ + /** \file * \ingroup bli */ -#pragma once - #include <memory> #include <algorithm> @@ -79,3 +80,5 @@ template<typename T> void relocate_n(T *src, uint n, T *dst) } } // namespace BLI + +#endif /* __BLI_MEMORY_UTILS_CXX_H__ */ |