fix: gcc
This commit is contained in:
parent
9a855daabf
commit
c191e7bd6a
@ -8,6 +8,7 @@
|
|||||||
#include "word_list_generator.h"
|
#include "word_list_generator.h"
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
MainWindow::MainWindow(QWidget *parent)
|
MainWindow::MainWindow(QWidget *parent)
|
||||||
: QMainWindow(parent), ui(new Ui::MainWindow) {
|
: QMainWindow(parent), ui(new Ui::MainWindow) {
|
||||||
@ -37,7 +38,7 @@ void MainWindow::generateWordList() {
|
|||||||
ui->mainStatusBar->showMessage(QString::fromStdString(status_message.str()));
|
ui->mainStatusBar->showMessage(QString::fromStdString(status_message.str()));
|
||||||
|
|
||||||
QStringList words;
|
QStringList words;
|
||||||
for (auto word : word_list_) {
|
for (const auto &word : word_list_) {
|
||||||
words.append(QString::fromStdString(word));
|
words.append(QString::fromStdString(word));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
#include <ostream>
|
||||||
|
|
||||||
class Timer {
|
class Timer {
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user