Răsfoiți Sursa

tas_input: Remove unused std::smatch variable

This also means we can get rid of the dependency on <regex>
Lioncash 4 ani în urmă
părinte
comite
37a8e2a67e
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      src/input_common/drivers/tas_input.cpp

+ 0 - 2
src/input_common/drivers/tas_input.cpp

@@ -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;