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
9f6736c2
Commit
9f6736c2
authored
Feb 18, 2016
by
Milo Yip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add noexcept to the constructors
parent
46dc8e92
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 @
9f6736c2
...
...
@@ -687,7 +687,7 @@ public:
\note \c Array is always pass-by-value.
\note the source array is moved into this value and the sourec array becomes empty.
*/
GenericValue
(
Array
a
)
:
data_
(
a
.
value_
.
data_
),
flags_
(
a
.
value_
.
flags_
)
{
GenericValue
(
Array
a
)
RAPIDJSON_NOEXCEPT
:
data_
(
a
.
value_
.
data_
),
flags_
(
a
.
value_
.
flags_
)
{
a
.
value_
.
data_
=
Data
();
a
.
value_
.
flags_
=
kArrayFlag
;
}
...
...
@@ -698,7 +698,7 @@ public:
\note \c Object is always pass-by-value.
\note the source object is moved into this value and the sourec object becomes empty.
*/
GenericValue
(
Object
o
)
:
data_
(
o
.
value_
.
data_
),
flags_
(
o
.
value_
.
flags_
)
{
GenericValue
(
Object
o
)
RAPIDJSON_NOEXCEPT
:
data_
(
o
.
value_
.
data_
),
flags_
(
o
.
value_
.
flags_
)
{
o
.
value_
.
data_
=
Data
();
o
.
value_
.
flags_
=
kObjectFlag
;
}
...
...
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