summaryrefslogtreecommitdiffhomepage
path: root/vendor/toml++/impl/std_optional.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/toml++/impl/std_optional.hpp')
-rw-r--r--vendor/toml++/impl/std_optional.hpp27
1 files changed, 13 insertions, 14 deletions
diff --git a/vendor/toml++/impl/std_optional.hpp b/vendor/toml++/impl/std_optional.hpp
index 6760388..6e988b5 100644
--- a/vendor/toml++/impl/std_optional.hpp
+++ b/vendor/toml++/impl/std_optional.hpp
@@ -1,7 +1,7 @@
-//# This file is a part of toml++ and is subject to the the terms of the MIT license.
-//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
-//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
-// SPDX-License-Identifier: MIT
+// # This file is a part of toml++ and is subject to the the terms of the MIT license.
+// # Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
+// # See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
+// SPDX-License-Identifier: MIT
#pragma once
#include "preprocessor.hpp"
@@ -11,21 +11,20 @@ TOML_DISABLE_WARNINGS;
#endif
TOML_ENABLE_WARNINGS;
-TOML_NAMESPACE_START
-{
+TOML_NAMESPACE_START {
#if TOML_HAS_CUSTOM_OPTIONAL_TYPE
- template <typename T>
- using optional = TOML_OPTIONAL_TYPE<T>;
+ template <typename T>
+ using optional = TOML_OPTIONAL_TYPE<T>;
#else
- /// \brief The 'optional' type used throughout the library.
- ///
- /// \remarks By default this will be an alias for std::optional, but you can change the optional type
- /// used by the library by defining #TOML_OPTIONAL_TYPE.
- template <typename T>
- using optional = std::optional<T>;
+ /// \brief The 'optional' type used throughout the library.
+ ///
+ /// \remarks By default this will be an alias for std::optional, but you can change the optional
+ /// type used by the library by defining #TOML_OPTIONAL_TYPE.
+ template <typename T>
+ using optional = std::optional<T>;
#endif
}