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
562549fb
Commit
562549fb
authored
9 years ago
by
Milo Yip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable copy/assignment for stream wrappers
parent
c3133def
master
v1.1.0
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
istreamwrapper.h
include/rapidjson/istreamwrapper.h
+3
-0
ostreamwrapper.h
include/rapidjson/ostreamwrapper.h
+3
-0
No files found.
include/rapidjson/istreamwrapper.h
View file @
562549fb
...
...
@@ -87,6 +87,9 @@ public:
}
private
:
BasicIStreamWrapper
(
const
BasicIStreamWrapper
&
);
BasicIStreamWrapper
&
operator
=
(
const
BasicIStreamWrapper
&
);
StreamType
&
stream_
;
size_t
count_
;
//!< Number of characters read. Note:
mutable
Ch
peekBuffer_
[
4
];
...
...
This diff is collapsed.
Click to expand it.
include/rapidjson/ostreamwrapper.h
View file @
562549fb
...
...
@@ -60,6 +60,9 @@ public:
size_t
PutEnd
(
char
*
)
{
RAPIDJSON_ASSERT
(
false
);
return
0
;
}
private
:
BasicOStreamWrapper
(
const
BasicOStreamWrapper
&
);
BasicOStreamWrapper
&
operator
=
(
const
BasicOStreamWrapper
&
);
StreamType
&
stream_
;
};
...
...
This diff is collapsed.
Click to expand it.
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