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
2f751650
Commit
2f751650
authored
Jul 21, 2016
by
Milo Yip
Committed by
GitHub
Jul 21, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #690 from fuzhufang/master
optimize FindMember when use std::string
parents
99ba17bd
b67ff2fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
document.h
include/rapidjson/document.h
+2
-2
No files found.
include/rapidjson/document.h
View file @
2f751650
...
...
@@ -1169,8 +1169,8 @@ public:
\return Iterator to member, if it exists.
Otherwise returns \ref MemberEnd().
*/
MemberIterator
FindMember
(
const
std
::
basic_string
<
Ch
>&
name
)
{
return
FindMember
(
StringRef
(
name
));
}
ConstMemberIterator
FindMember
(
const
std
::
basic_string
<
Ch
>&
name
)
const
{
return
FindMember
(
StringRef
(
name
));
}
MemberIterator
FindMember
(
const
std
::
basic_string
<
Ch
>&
name
)
{
return
FindMember
(
GenericValue
(
StringRef
(
name
)
));
}
ConstMemberIterator
FindMember
(
const
std
::
basic_string
<
Ch
>&
name
)
const
{
return
FindMember
(
GenericValue
(
StringRef
(
name
)
));
}
#endif
//! Add a member (name-value pair) to the object.
...
...
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