tas_input: Remove unused std::smatch variable
This also means we can get rid of the dependency on <regex>
This commit is contained in:
parent
d52ad96ce3
commit
37a8e2a67e
|
@ -3,7 +3,6 @@
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <regex>
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
|
|
||||||
#include "common/fs/file.h"
|
#include "common/fs/file.h"
|
||||||
|
@ -93,7 +92,6 @@ void Tas::LoadTasFile(size_t player_index, size_t file_index) {
|
||||||
if (line.empty()) {
|
if (line.empty()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
std::smatch m;
|
|
||||||
|
|
||||||
std::stringstream linestream(line);
|
std::stringstream linestream(line);
|
||||||
std::string segment;
|
std::string segment;
|
||||||
|
|
Loading…
Reference in a new issue