Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-re2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-re2
Commits
fd9c42ed
Commit
fd9c42ed
authored
Aug 05, 2016
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vre2.h
src/vre2/vre2.h
+2
-1
No files found.
src/vre2/vre2.h
View file @
fd9c42ed
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment