Using qDebug() instead of iostream::cout(). And formatted files with clangformat.
This commit is contained in:
@ -1,19 +1,11 @@
|
||||
#include "genericcore.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <QDebug>
|
||||
|
||||
using namespace std;
|
||||
|
||||
GenericCore::GenericCore()
|
||||
{
|
||||
cout << "Creating core..." << endl;
|
||||
}
|
||||
GenericCore::GenericCore() { qDebug() << "Creating core..."; }
|
||||
|
||||
GenericCore::~GenericCore()
|
||||
{
|
||||
cout << "Destroying core..." << endl;
|
||||
}
|
||||
GenericCore::~GenericCore() { qDebug() << "Destroying core..."; }
|
||||
|
||||
void GenericCore::sayHello() const
|
||||
{
|
||||
cout << "Hello from the core!" << endl;
|
||||
}
|
||||
void GenericCore::sayHello() const { qDebug() << "Hello from the core!"; }
|
||||
|
||||
Reference in New Issue
Block a user