Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
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
capnproto
Commits
6fb5003c
Commit
6fb5003c
authored
Apr 28, 2017
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around GCC 4.8 bug.
parent
3410b467
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
http-test.c++
c++/src/kj/compat/http-test.c++
+9
-3
No files found.
c++/src/kj/compat/http-test.c++
View file @
6fb5003c
...
...
@@ -654,7 +654,9 @@ kj::ArrayPtr<const HttpRequestTestCase> requestTestCases() {
},
};
return
REQUEST_TEST_CASES
;
// TODO(cleanup): A bug in GCC 4.8, fixed in 4.9, prevents REQUEST_TEST_CASES from implicitly
// casting to our return type.
return
kj
::
arrayPtr
(
REQUEST_TEST_CASES
,
kj
::
size
(
REQUEST_TEST_CASES
));
}
kj
::
ArrayPtr
<
const
HttpResponseTestCase
>
responseTestCases
()
{
...
...
@@ -717,7 +719,9 @@ kj::ArrayPtr<const HttpResponseTestCase> responseTestCases() {
},
};
return
RESPONSE_TEST_CASES
;
// TODO(cleanup): A bug in GCC 4.8, fixed in 4.9, prevents RESPONSE_TEST_CASES from implicitly
// casting to our return type.
return
kj
::
arrayPtr
(
RESPONSE_TEST_CASES
,
kj
::
size
(
RESPONSE_TEST_CASES
));
}
KJ_TEST
(
"HttpClient requests"
)
{
...
...
@@ -892,7 +896,9 @@ kj::ArrayPtr<const HttpTestCase> pipelineTestCases() {
},
};
return
PIPELINE_TESTS
;
// TODO(cleanup): A bug in GCC 4.8, fixed in 4.9, prevents RESPONSE_TEST_CASES from implicitly
// casting to our return type.
return
kj
::
arrayPtr
(
PIPELINE_TESTS
,
kj
::
size
(
PIPELINE_TESTS
));
}
KJ_TEST
(
"HttpClient pipeline"
)
{
...
...
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