diff options
Diffstat (limited to 'source/blender/blenlib/BLI_string_ref.h')
-rw-r--r-- | source/blender/blenlib/BLI_string_ref.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_string_ref.h b/source/blender/blenlib/BLI_string_ref.h index 9d4678f335f..76163a2754c 100644 --- a/source/blender/blenlib/BLI_string_ref.h +++ b/source/blender/blenlib/BLI_string_ref.h @@ -14,6 +14,9 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef __BLI_STRING_REF_H__ +#define __BLI_STRING_REF_H__ + /** \file * \ingroup bli * @@ -25,8 +28,6 @@ * not. */ -#pragma once - #include <cstring> #include <string> #include <sstream> @@ -242,3 +243,5 @@ inline bool StringRefBase::endswith(StringRef suffix) const } } // namespace BLI + +#endif /* __BLI_STRING_REF_H__ */ |