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