mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibCrypto: Use default instead of an empty constructor/destructor
Default implementations allow for more optimizations. See: https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
parent
5dbc72a158
commit
dba5710efa
Notes:
sideshowbarker
2024-07-18 03:52:17 +09:00
Author: https://github.com/bgianfo
Commit: dba5710efa
Pull-request: https://github.com/SerenityOS/serenity/pull/10053
6 changed files with 6 additions and 10 deletions
|
@ -60,9 +60,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
RSAPrivateKey()
|
||||
{
|
||||
}
|
||||
RSAPrivateKey() = default;
|
||||
|
||||
const Integer& modulus() const { return m_modulus; }
|
||||
const Integer& private_exponent() const { return m_private_exponent; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue