diff options
Diffstat (limited to 'Utilities/std/cm/optional')
-rw-r--r-- | Utilities/std/cm/optional | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Utilities/std/cm/optional b/Utilities/std/cm/optional index 80b0951..e691e8e 100644 --- a/Utilities/std/cm/optional +++ b/Utilities/std/cm/optional @@ -3,8 +3,7 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ -#ifndef cm_optional -#define cm_optional +#pragma once #if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) # define CMake_HAVE_CXX_OPTIONAL @@ -340,5 +339,3 @@ T& optional<T>::emplace(Args&&... args) #endif } - -#endif |