Commit fd9c42ed authored by Geoff Simmons's avatar Geoff Simmons

In vre2.h, include <map> and declare the map member in namespace std,

since this is no longer done via <re2/re2.h>.
parent 99f2df8d
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#ifdef __cplusplus #ifdef __cplusplus
#include <map>
#include <re2/re2.h> #include <re2/re2.h>
using namespace re2; using namespace re2;
...@@ -39,7 +40,7 @@ using namespace re2; ...@@ -39,7 +40,7 @@ using namespace re2;
class vre2 { class vre2 {
private: private:
RE2* re_; RE2* re_;
map<string, int> named_group; std::map<string, int> named_group;
public: public:
vre2(const char *pattern, RE2::Options * const opt); vre2(const char *pattern, RE2::Options * const opt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment