Skip to content

Commit b35a946

Browse files
linter
1 parent b6f2f01 commit b35a946

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
@@ -1146,9 +1146,9 @@ namespace jwt {
11461146
: secret(helper::raw2bn(key).release()), md(md), alg_name(std::move(name)) {}
11471147
hmacsha(const hmacsha& other) : secret(BN_dup(other.secret)), md(other.md), alg_name(other.alg_name) {}
11481148
hmacsha(hmacsha&& other) : secret(nullptr), md(std::move(other.md)), alg_name(std::move(other.alg_name)) {
1149-
if(BN_copy(other.secret, secret) == nullptr) throw std::runtime_error("failed to copy BN");
1149+
if (BN_copy(other.secret, secret) == nullptr) throw std::runtime_error("failed to copy BN");
11501150
}
1151-
~hmacsha(){ BN_free(secret); }
1151+
~hmacsha() { BN_free(secret); }
11521152
hmacsha& operator=(const hmacsha& other) = delete;
11531153
hmacsha& operator=(hmacsha&& other) = delete;
11541154

0 commit comments

Comments
 (0)