LibJS: 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:
Brian Gianforcaro 2021-09-16 00:00:32 -07:00 committed by Andreas Kling
commit e2d154c74d
Notes: sideshowbarker 2024-07-18 03:51:24 +09:00
3 changed files with 2 additions and 6 deletions

View file

@ -41,7 +41,7 @@ public:
template<class T>
class Handle {
public:
Handle() { }
Handle() = default;
static Handle create(T* cell)
{