1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

LibSQL: Use compiler generated default functions

Problem:
- Clang ToT generates warnings due to user-declared functions causing
  the implicitly generated assignment operator to not be generated.

Solution:
- Declare the default constructor `= default`.
- Remove the default copy constructor declaration.
This commit is contained in:
Lenny Maiorani 2021-08-03 12:36:58 -06:00 committed by Andreas Kling
parent 91c9d9ee88
commit da10ad3f0d
2 changed files with 1 additions and 7 deletions

View file

@ -9,11 +9,6 @@
namespace SQL {
Key::Key()
: Tuple()
{
}
Key::Key(TupleDescriptor const& descriptor)
: Tuple(descriptor)
{