summaryrefslogtreecommitdiffstats
path: root/src/user.h
diff options
context:
space:
mode:
authorLuboš Doležel <lubos@dolezel.info>2015-07-04 22:11:12 +0200
committerLuboš Doležel <lubos@dolezel.info>2015-07-04 22:11:12 +0200
commit4ec69237e6b777df818bc95bd46a58448340b30d (patch)
treec08584cb8cd034d071f476372ceb6de44447fa6c /src/user.h
parent636331cbf0e0d0947f5d25771c5a0689f07564fd (diff)
downloadtwinkle-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/user.h b/src/user.h
index f78652d..2e9c2ca 100644
--- a/src/user.h
+++ b/src/user.h
@@ -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; }
};