Selaa lähdekoodia

Post push cleanup...

Georgios Kotzampopoulos 4 vuotta sitten
vanhempi
commit
4f439a5429
3 muutettua tiedostoa jossa 4 lisäystä ja 6 poistoa
  1. 2 0
      src/experimental/Decl.h
  2. 0 4
      src/experimental/Entry.cpp
  3. 2 2
      src/experimental/Entry.h

+ 2 - 0
src/experimental/Decl.h

@@ -14,6 +14,8 @@ using TableName = QString;
 using RowId = int;
 
 using TableNames = QStringList;
+/// [G]: May lead to some confusion. TableData suggest data for the entire table.
+/// but in reallity it is data per column *of single row* (unless i misunderstand)
 using TableData = QMap<ColName, ColData>;
 using ColumnData = QPair<ColName, ColData>;
 using ColumnNames = QStringList;

+ 0 - 4
src/experimental/Entry.cpp

@@ -16,10 +16,6 @@ const TableData& Entry::getData()
     return tableData;
 }
 
-PilotEntry::PilotEntry(const PilotEntry& pe)
-    : Entry::Entry(pe)
-{}
-
 PilotEntry::PilotEntry(int row_id)
     : Entry::Entry(DataPosition("pilots", row_id))
 {}

+ 2 - 2
src/experimental/Entry.h

@@ -32,10 +32,10 @@ public:
 class PilotEntry : public Entry {
 public:
     PilotEntry() = default;
-    PilotEntry(const PilotEntry& pe);
+    PilotEntry(const PilotEntry& pe) = default;
     PilotEntry& operator=(const PilotEntry& pe) = default;
     PilotEntry(int row_id);
-    PilotEntry(TableData fromNewPilotDialog);
+    PilotEntry(TableData newPilotData);
 };
 
 }