Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarMaybe.hpp
diff options
context:
space:
mode:
authorKai Blaschke <kai.blaschke@kb-dev.net>2024-02-25 15:46:47 +0100
committerKai Blaschke <kai.blaschke@kb-dev.net>2024-02-25 15:46:47 +0100
commit3073a88cd16b6e85401363c814e5ac7ae11b9270 (patch)
tree30050be82e0056a2ceaf8233d5e88f2946773a53 /source/core/StarMaybe.hpp
parentb8da62bf43e42e6fc895664a9faf621cbe0325c8 (diff)
Use "#pragma once" instead of include guards
Diffstat (limited to 'source/core/StarMaybe.hpp')
-rw-r--r--source/core/StarMaybe.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/core/StarMaybe.hpp b/source/core/StarMaybe.hpp
index 2c53bcb..9576ee6 100644
--- a/source/core/StarMaybe.hpp
+++ b/source/core/StarMaybe.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_MAYBE_HPP
-#define STAR_MAYBE_HPP
+#pragma once
#include "StarException.hpp"
#include "StarHash.hpp"
@@ -399,5 +398,3 @@ size_t hash<Maybe<T>>::operator()(Maybe<T> const& m) const {
template <typename T>
struct fmt::formatter<Star::Maybe<T>> : ostream_formatter {};
-
-#endif