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

summaryrefslogtreecommitdiff
path: root/source/core/StarByteArray.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/StarByteArray.hpp
parentb8da62bf43e42e6fc895664a9faf621cbe0325c8 (diff)
Use "#pragma once" instead of include guards
Diffstat (limited to 'source/core/StarByteArray.hpp')
-rw-r--r--source/core/StarByteArray.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/core/StarByteArray.hpp b/source/core/StarByteArray.hpp
index cb5633b..9b3e410 100644
--- a/source/core/StarByteArray.hpp
+++ b/source/core/StarByteArray.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_BYTE_ARRAY_H
-#define STAR_BYTE_ARRAY_H
+#pragma once
#include "StarHash.hpp"
#include "StarException.hpp"
@@ -257,5 +256,3 @@ inline size_t hash<ByteArray>::operator()(ByteArray const& b) const {
}
template <> struct fmt::formatter<Star::ByteArray> : ostream_formatter {};
-
-#endif