fix: gcc
This commit is contained in:
parent
9a855daabf
commit
c191e7bd6a
@ -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:
|
||||
|
Reference in New Issue
Block a user