From 8d4c21193437882c7cb4cb8245aa80f9d8d7c084 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 10 Dec 2017 08:30:21 +0100 Subject: Remove boost dependency --- src/etisnoop.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/etisnoop.cpp b/src/etisnoop.cpp index b94d0d7..1547af3 100644 --- a/src/etisnoop.cpp +++ b/src/etisnoop.cpp @@ -41,7 +41,7 @@ #include #include #include -#include +#include #include #include #include @@ -144,9 +144,9 @@ int main(int argc, char *argv[]) case 'F': { const string type_ext(optarg); - const boost::regex regex("^([0-9]+)/([0-9]+)$"); - boost::smatch match; - bool is_match = boost::regex_search(type_ext, match, regex); + const std::regex regex("^([0-9]+)/([0-9]+)$"); + std::smatch match; + bool is_match = std::regex_search(type_ext, match, regex); if (not is_match) { fprintf(stderr, "Incorrect -F format\n"); return 1; -- cgit v1.2.3