Skip to content

Commit 9556afc

Browse files
committed
chore: run clang-format
1 parent 4839202 commit 9556afc

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

packages/react-native-quick-crypto/cpp/hash/HybridHash.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include <memory>
21
#include <NitroModules/ArrayBuffer.hpp>
32
#include <OpenSSL/evp.h>
3+
#include <memory>
44
#include <optional>
55
#include <string>
66
#include <vector>
@@ -15,13 +15,11 @@ HybridHash::~HybridHash() {
1515
}
1616
}
1717

18-
void
19-
HybridHash::update() {
20-
// TODO
18+
void HybridHash::update() {
19+
// TODO
2120
}
2221

23-
void
24-
HybridHash::digest() {
22+
void HybridHash::digest() {
2523
// TODO
2624
}
2725

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include <memory>
21
#include <NitroModules/ArrayBuffer.hpp>
32
#include <OpenSSL/evp.h>
3+
#include <memory>
44
#include <optional>
55
#include <string>
66
#include <vector>
@@ -15,17 +15,15 @@ class HybridHash : public HybridHashSpec {
1515
public:
1616
HybridHash() : HybridObject(TAG) {}
1717
~HybridHash();
18-
18+
1919
public:
2020
// Methods
21-
void
22-
update() override;
23-
void
24-
digest() override;
25-
21+
void update() override;
22+
void digest() override;
23+
2624
private:
27-
// Properties
28-
EVP_MD_CTX *ctx = nullptr;
25+
// Properties
26+
EVP_MD_CTX* ctx = nullptr;
2927
};
3028

31-
} // margelo::nitro::crypto
29+
} // namespace margelo::nitro::crypto

0 commit comments

Comments
 (0)