Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
00ed0a5f
Commit
00ed0a5f
authored
Apr 23, 2016
by
Milo Yip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gcc warning
parent
b010f388
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
filterkeydom.cpp
example/filterkeydom/filterkeydom.cpp
+4
-3
No files found.
example/filterkeydom/filterkeydom.cpp
View file @
00ed0a5f
...
...
@@ -98,7 +98,7 @@ private:
filterValueDepth_
=
0
;
return
true
;
}
OutputHandler
&
outputHandler_
;
const
char
*
keyString_
;
const
SizeType
keyLength_
;
...
...
@@ -113,7 +113,7 @@ public:
typedef
char
Ch
;
FilterKeyReader
(
InputStream
&
is
,
const
Ch
*
keyString
,
SizeType
keyLength
)
:
is_
(
is
),
keyString_
(
keyString
),
keyLength_
(
keyLength
)
is_
(
is
),
keyString_
(
keyString
),
keyLength_
(
keyLength
)
,
parseResult_
()
{}
// SAX event flow: reader -> filter -> handler
...
...
@@ -121,7 +121,8 @@ public:
bool
operator
()(
Handler
&
handler
)
{
FilterKeyHandler
<
Handler
>
filter
(
handler
,
keyString_
,
keyLength_
);
Reader
reader
;
return
parseResult_
=
reader
.
Parse
(
is_
,
filter
);
parseResult_
=
reader
.
Parse
(
is_
,
filter
);
return
parseResult_
;
}
const
ParseResult
&
GetParseResult
()
const
{
return
parseResult_
;
}
...
...
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