This question already has an answer here:
MainWindow::MainWindow(const char* f, QWidget* p) : QMainWindow(p), m_database() {
// ................
}
Why is m_database used before the curly brackets? It can't be multiple Inheritance since m_database is not a class?
It is declared in the .h file like this.
private:
BRLCAD::ConstDatabase m_database;
Aucun commentaire:
Enregistrer un commentaire