diff options
author | Luboš Doležel <lubos@dolezel.info> | 2015-07-04 22:11:12 +0200 |
---|---|---|
committer | Luboš Doležel <lubos@dolezel.info> | 2015-07-04 22:11:12 +0200 |
commit | 4ec69237e6b777df818bc95bd46a58448340b30d (patch) | |
tree | c08584cb8cd034d071f476372ceb6de44447fa6c /src/user.h | |
parent | 636331cbf0e0d0947f5d25771c5a0689f07564fd (diff) | |
download | twinkle-4ec69237e6b777df818bc95bd46a58448340b30d.tar twinkle-4ec69237e6b777df818bc95bd46a58448340b30d.tar.gz twinkle-4ec69237e6b777df818bc95bd46a58448340b30d.tar.lz twinkle-4ec69237e6b777df818bc95bd46a58448340b30d.tar.xz twinkle-4ec69237e6b777df818bc95bd46a58448340b30d.zip |
Replaced Boost regex dependency with C++11 regex
Diffstat (limited to 'src/user.h')
-rw-r--r-- | src/user.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -30,7 +30,7 @@ #include "audio/audio_codecs.h" #include "sockets/url.h" #include "threads/mutex.h" -#include "boost/regex.hpp" +#include <regex> // Forward declaration class t_request; @@ -91,10 +91,10 @@ enum t_g726_packing { }; struct t_number_conversion { - boost::regex re; - string fmt; + string re; + string fmt; - string str(void) const { return re.str() + " --> " + fmt; } + string str(void) const { return re + " --> " + fmt; } }; |