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
789761ae
Commit
789761ae
authored
Jun 29, 2014
by
Milo Yip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes compilation error
‘>>’ should be ‘> >’ within a nested template argument list
parent
bcf7cee7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
rapidjson.h
include/rapidjson/rapidjson.h
+2
-2
readertest.cpp
test/unittest/readertest.cpp
+2
-2
No files found.
include/rapidjson/rapidjson.h
View file @
789761ae
...
...
@@ -244,7 +244,7 @@ struct GenericStringStream {
};
template
<
typename
Encoding
>
struct
StreamTraits
<
GenericStringStream
<
Encoding
>>
{
struct
StreamTraits
<
GenericStringStream
<
Encoding
>
>
{
typedef
GenericStringStream
<
Encoding
>
StreamCopyType
;
// Enable stream copy optimization.
};
...
...
@@ -280,7 +280,7 @@ struct GenericInsituStringStream {
};
template
<
typename
Encoding
>
struct
StreamTraits
<
GenericInsituStringStream
<
Encoding
>>
{
struct
StreamTraits
<
GenericInsituStringStream
<
Encoding
>
>
{
typedef
GenericInsituStringStream
<
Encoding
>
StreamCopyType
;
// Enable stream copy optimization.
};
...
...
test/unittest/readertest.cpp
View file @
789761ae
...
...
@@ -626,7 +626,7 @@ private:
namespace rapidjson {
template <typename Encoding>
struct StreamTraits<CustomStringStream<Encoding>> {
struct StreamTraits<CustomStringStream<Encoding>
> {
typedef CustomStringStream<Encoding> StreamCopyType;
};
...
...
@@ -635,7 +635,7 @@ struct StreamTraits<CustomStringStream<Encoding>> {
TEST
(
Reader
,
CustomStringStream
)
{
const
char
*
json
=
"{
\"
hello
\"
:
\"
world
\"
,
\"
t
\"
: true ,
\"
f
\"
: false,
\"
n
\"
: null,
\"
i
\"
:123,
\"
pi
\"
: 3.1416,
\"
a
\"
:[1, 2, 3] } "
;
CustomStringStream
<
UTF8
<
char
>>
s
(
json
);
CustomStringStream
<
UTF8
<
char
>
>
s
(
json
);
ParseObjectHandler
h
;
Reader
reader
;
reader
.
ParseObject
<
0
>
(
s
,
h
);
...
...
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