aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-12-13 10:50:22 -0500
committerLioncash <mathew1800@gmail.com>2021-12-13 10:50:24 -0500
commit37a8e2a67eae239b13f10ac56bc42932e9a25b25 (patch)
treeb47abe4894a17ed8e967f612dbff0f9f83e3d1c7
parentd52ad96ce348656b2ea7de8b8a85badfa86d2860 (diff)
tas_input: Remove unused std::smatch variable
This also means we can get rid of the dependency on <regex>
-rw-r--r--src/input_common/drivers/tas_input.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input_common/drivers/tas_input.cpp b/src/input_common/drivers/tas_input.cpp
index 19d8ccae37..0a504c4847 100644
--- a/src/input_common/drivers/tas_input.cpp
+++ b/src/input_common/drivers/tas_input.cpp
@@ -3,7 +3,6 @@
// Refer to the license.txt file included.
#include <cstring>
-#include <regex>
#include <fmt/format.h>
#include "common/fs/file.h"
@@ -93,7 +92,6 @@ void Tas::LoadTasFile(size_t player_index, size_t file_index) {
if (line.empty()) {
continue;
}
- std::smatch m;
std::stringstream linestream(line);
std::string segment;