Skip to content

Commit a047c21

Browse files
linter
1 parent e3120bb commit a047c21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/jwt-cpp/jwt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,9 +1142,9 @@ namespace jwt {
11421142
: secret(helper::raw2bn(key).release()), md(md), alg_name(std::move(name)) {}
11431143
hmacsha(const hmacsha& other) : secret(BN_dup(other.secret)), md(other.md), alg_name(other.alg_name) {}
11441144
hmacsha(hmacsha&& other) : secret(nullptr), md(std::move(other.md)), alg_name(std::move(other.alg_name)) {
1145-
if(BN_copy(other.secret, secret) == nullptr) throw std::runtime_error("failed to copy BN");
1145+
if (BN_copy(other.secret, secret) == nullptr) throw std::runtime_error("failed to copy BN");
11461146
}
1147-
~hmacsha(){ BN_free(secret); }
1147+
~hmacsha() { BN_free(secret); }
11481148
hmacsha& operator=(const hmacsha& other) = delete;
11491149
hmacsha& operator=(hmacsha&& other) = delete;
11501150

0 commit comments

Comments
 (0)