mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK: Use default constructor/destructor instead of declaring an empty one
Default implementations allow for more optimizations. See: https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
committed by
Andreas Kling
parent
9fe43041f5
commit
c192c303d2
@@ -15,7 +15,7 @@ namespace AK {
|
||||
template<typename T>
|
||||
class FixedArray {
|
||||
public:
|
||||
FixedArray() { }
|
||||
FixedArray() = default;
|
||||
explicit FixedArray(size_t size)
|
||||
: m_size(size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user