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
9bd618f5
Commit
9bd618f5
authored
Aug 29, 2016
by
Milo Yip
Committed by
GitHub
Aug 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #719 from yachoor/remove_broken_assignment
Remove non-compiling assignment operator
parents
f54b0e47
862c39be
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 @
9bd618f5
...
...
@@ -316,8 +316,6 @@ struct GenericStringRef {
GenericStringRef
(
const
GenericStringRef
&
rhs
)
:
s
(
rhs
.
s
),
length
(
rhs
.
length
)
{}
GenericStringRef
&
operator
=
(
const
GenericStringRef
&
rhs
)
{
s
=
rhs
.
s
;
length
=
rhs
.
length
;
}
//! implicit conversion to plain CharType pointer
operator
const
Ch
*
()
const
{
return
s
;
}
...
...
@@ -328,6 +326,8 @@ private:
//! Disallow construction from non-const array
template
<
SizeType
N
>
GenericStringRef
(
CharType
(
&
str
)[
N
])
/* = delete */
;
//! Copy assignment operator not permitted - immutable type
GenericStringRef
&
operator
=
(
const
GenericStringRef
&
rhs
)
/* = delete */
;
};
//! Mark a character pointer as constant string
...
...
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