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
56625bd9
Commit
56625bd9
authored
Aug 31, 2014
by
Philipp A. Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GenericValue: add some more RAPIDJSON_NOEXCEPT
* Move() * RawAssign() * SetStringRaw()
parent
5672d246
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
document.h
include/rapidjson/document.h
+3
-3
No files found.
include/rapidjson/document.h
View file @
56625bd9
...
...
@@ -641,7 +641,7 @@ public:
//! Prepare Value for move semantics
/*! \return *this */
GenericValue
&
Move
()
{
return
*
this
;
}
GenericValue
&
Move
()
RAPIDJSON_NOEXCEPT
{
return
*
this
;
}
//@}
//!@name Equal-to and not-equal-to operators
...
...
@@ -1494,7 +1494,7 @@ private:
}
//! Initialize this value as constant string, without calling destructor.
void
SetStringRaw
(
StringRefType
s
)
{
void
SetStringRaw
(
StringRefType
s
)
RAPIDJSON_NOEXCEPT
{
flags_
=
kConstStringFlag
;
data_
.
s
.
str
=
s
;
data_
.
s
.
length
=
s
.
length
;
...
...
@@ -1510,7 +1510,7 @@ private:
}
//! Assignment without calling destructor
void
RawAssign
(
GenericValue
&
rhs
)
{
void
RawAssign
(
GenericValue
&
rhs
)
RAPIDJSON_NOEXCEPT
{
data_
=
rhs
.
data_
;
flags_
=
rhs
.
flags_
;
rhs
.
flags_
=
kNullFlag
;
...
...
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