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
6315eaed
Commit
6315eaed
authored
May 20, 2015
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some warnings.
parent
50313e41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
rpc-twoparty-test.c++
c++/src/capnp/rpc-twoparty-test.c++
+1
-1
async-test.c++
c++/src/kj/async-test.c++
+1
-1
No files found.
c++/src/capnp/rpc-twoparty-test.c++
View file @
6315eaed
...
...
@@ -336,7 +336,7 @@ TEST(TwoPartyNetwork, ConvenienceClasses) {
EXPECT_EQ
(
1
,
callCount
);
}
class
TestAuthenticatedBootstrapImpl
class
TestAuthenticatedBootstrapImpl
final
:
public
test
::
TestAuthenticatedBootstrap
<
rpc
::
twoparty
::
VatId
>::
Server
{
public
:
TestAuthenticatedBootstrapImpl
(
rpc
::
twoparty
::
VatId
::
Reader
clientId
)
{
...
...
c++/src/kj/async-test.c++
View file @
6315eaed
...
...
@@ -643,7 +643,7 @@ TEST(Async, Detach) {
bool
ran2
=
false
;
bool
ran3
=
false
;
evalLater
([
&
]()
{
ran1
=
true
;
});
(
void
)
evalLater
([
&
]()
{
ran1
=
true
;
});
// let returned promise be destroyed (canceled)
evalLater
([
&
]()
{
ran2
=
true
;
}).
detach
([](
kj
::
Exception
&&
)
{
ADD_FAILURE
();
});
evalLater
([]()
{
KJ_FAIL_ASSERT
(
"foo"
){
break
;}
}).
detach
([
&
](
kj
::
Exception
&&
e
)
{
ran3
=
true
;
});
...
...
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