diff options
| author | 2021-12-13 10:50:22 -0500 | |
|---|---|---|
| committer | 2021-12-13 10:50:24 -0500 | |
| commit | 37a8e2a67eae239b13f10ac56bc42932e9a25b25 (patch) | |
| tree | b47abe4894a17ed8e967f612dbff0f9f83e3d1c7 /src/input_common/drivers/tas_input.cpp | |
| parent | tas_input: Amend -Wdocumentation warnings (diff) | |
| download | yuzu-37a8e2a67eae239b13f10ac56bc42932e9a25b25.tar.gz yuzu-37a8e2a67eae239b13f10ac56bc42932e9a25b25.tar.xz yuzu-37a8e2a67eae239b13f10ac56bc42932e9a25b25.zip | |
tas_input: Remove unused std::smatch variable
This also means we can get rid of the dependency on <regex>
Diffstat (limited to 'src/input_common/drivers/tas_input.cpp')
| -rw-r--r-- | src/input_common/drivers/tas_input.cpp | 2 |
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 19d8ccae3..0a504c484 100644 --- a/src/input_common/drivers/tas_input.cpp +++ b/src/input_common/drivers/tas_input.cpp | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cstring> | 5 | #include <cstring> |
| 6 | #include <regex> | ||
| 7 | #include <fmt/format.h> | 6 | #include <fmt/format.h> |
| 8 | 7 | ||
| 9 | #include "common/fs/file.h" | 8 | #include "common/fs/file.h" |
| @@ -93,7 +92,6 @@ void Tas::LoadTasFile(size_t player_index, size_t file_index) { | |||
| 93 | if (line.empty()) { | 92 | if (line.empty()) { |
| 94 | continue; | 93 | continue; |
| 95 | } | 94 | } |
| 96 | std::smatch m; | ||
| 97 | 95 | ||
| 98 | std::stringstream linestream(line); | 96 | std::stringstream linestream(line); |
| 99 | std::string segment; | 97 | std::string segment; |