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
96f979a0
Commit
96f979a0
authored
Oct 31, 2014
by
Milo Yip
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #187 from pah/fixes/sign-compare
DocumentMove tests: compiler error due to -Wsign-compare
parents
1d3070fb
1a31767d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
documenttest.cpp
test/unittest/documenttest.cpp
+2
-2
No files found.
test/unittest/documenttest.cpp
View file @
96f979a0
...
...
@@ -313,7 +313,7 @@ TYPED_TEST(DocumentMove, MoveConstructorStack) {
GenericStringStream
<
Encoding
>
is
(
"[
\"
one
\"
,
\"
two
\"
,
\"
three
\"
]"
);
reader
.
template
Parse
<
kParseDefaultFlags
>
(
is
,
a
);
size_t
capacity
=
a
.
GetStackCapacity
();
EXPECT_GT
(
capacity
,
0
);
EXPECT_GT
(
capacity
,
0
u
);
Document
b
(
std
::
move
(
a
));
EXPECT_EQ
(
a
.
GetStackCapacity
(),
defaultCapacity
);
...
...
@@ -405,7 +405,7 @@ TYPED_TEST(DocumentMove, MoveAssignmentStack) {
GenericStringStream
<
Encoding
>
is
(
"[
\"
one
\"
,
\"
two
\"
,
\"
three
\"
]"
);
reader
.
template
Parse
<
kParseDefaultFlags
>
(
is
,
a
);
size_t
capacity
=
a
.
GetStackCapacity
();
EXPECT_GT
(
capacity
,
0
);
EXPECT_GT
(
capacity
,
0
u
);
Document
b
;
b
=
std
::
move
(
a
);
...
...
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