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

summaryrefslogtreecommitdiff
path: root/source/core/StarCurve25519.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/StarCurve25519.hpp
parentb8da62bf43e42e6fc895664a9faf621cbe0325c8 (diff)
Use "#pragma once" instead of include guards
Diffstat (limited to 'source/core/StarCurve25519.hpp')
-rw-r--r--source/core/StarCurve25519.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/core/StarCurve25519.hpp b/source/core/StarCurve25519.hpp
index 15fe4d1..d1eac1c 100644
--- a/source/core/StarCurve25519.hpp
+++ b/source/core/StarCurve25519.hpp
@@ -1,5 +1,5 @@
-#ifndef STAR_CURVE_25519_HPP
-#define STAR_CURVE_25519_HPP
+#pragma once
+
#include "StarEncode.hpp"
#include "StarByteArray.hpp"
#include "StarArray.hpp"
@@ -21,5 +21,3 @@ Signature sign(void* data, size_t len);
bool verify(uint8_t const* signature, uint8_t const* publicKey, void* data, size_t len);
}
-
-#endif \ No newline at end of file