mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Simplify code
This commit is contained in:
@@ -327,10 +327,6 @@ QString Field::affinity() const
|
||||
return "NUMERIC";
|
||||
}
|
||||
|
||||
Table::~Table()
|
||||
{
|
||||
}
|
||||
|
||||
Table& Table::operator=(const Table& rhs)
|
||||
{
|
||||
// Base class
|
||||
@@ -1241,10 +1237,6 @@ QString IndexedColumn::toString(const QString& indent, const QString& sep) const
|
||||
return indent + name + order;
|
||||
}
|
||||
|
||||
Index::~Index()
|
||||
{
|
||||
}
|
||||
|
||||
Index& Index::operator=(const Index& rhs)
|
||||
{
|
||||
// Base class
|
||||
@@ -1457,10 +1449,6 @@ void CreateIndexWalker::parsecolumn(Index* index, antlr::RefAST c)
|
||||
|
||||
|
||||
|
||||
View::~View()
|
||||
{
|
||||
}
|
||||
|
||||
ViewPtr View::parseSQL(const QString& sSQL)
|
||||
{
|
||||
// TODO
|
||||
|
||||
@@ -402,7 +402,6 @@ class Table : public Object
|
||||
{
|
||||
public:
|
||||
explicit Table(const QString& name): Object(name), m_rowidColumn("_rowid_") {}
|
||||
~Table() override;
|
||||
Table& operator=(const Table& rhs);
|
||||
|
||||
bool operator==(const Table& rhs) const;
|
||||
@@ -492,7 +491,6 @@ class Index : public Object
|
||||
{
|
||||
public:
|
||||
explicit Index(const QString& name): Object(name), m_unique(false) {}
|
||||
~Index() override;
|
||||
Index& operator=(const Index& rhs);
|
||||
|
||||
Types type() const override { return Object::Index; }
|
||||
@@ -539,7 +537,6 @@ class View : public Object
|
||||
{
|
||||
public:
|
||||
explicit View(const QString& name): Object(name) {}
|
||||
~View() override;
|
||||
|
||||
Types type() const override { return Object::View; }
|
||||
|
||||
@@ -559,7 +556,6 @@ class Trigger : public Object
|
||||
{
|
||||
public:
|
||||
explicit Trigger(const QString& name): Object(name) {}
|
||||
~Trigger() override {}
|
||||
|
||||
Types type() const override { return Object::Trigger; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user