mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
LibX86: 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
b9c53a096a
commit
677f227774
1 changed files with 2 additions and 2 deletions
|
@ -279,7 +279,7 @@ enum MMXRegisterIndex {
|
|||
|
||||
class LogicalAddress {
|
||||
public:
|
||||
LogicalAddress() { }
|
||||
LogicalAddress() = default;
|
||||
LogicalAddress(u16 selector, FlatPtr offset)
|
||||
: m_selector(selector)
|
||||
, m_offset(offset)
|
||||
|
@ -411,7 +411,7 @@ public:
|
|||
LogicalAddress resolve(const CPU&, const Instruction&);
|
||||
|
||||
private:
|
||||
MemoryOrRegisterReference() { }
|
||||
MemoryOrRegisterReference() = default;
|
||||
|
||||
String to_string(const Instruction&) const;
|
||||
String to_string_a16() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue