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
90c108ea
Commit
90c108ea
authored
Oct 15, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, fix bugs.
parent
02b8f4cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
dynamic.c++
c++/src/capnp/dynamic.c++
+8
-8
dynamic.h
c++/src/capnp/dynamic.h
+4
-4
mega-test-quick.cfg
mega-test-quick.cfg
+3
-3
No files found.
c++/src/capnp/dynamic.c++
View file @
90c108ea
...
...
@@ -1486,7 +1486,7 @@ DynamicValue::Reader::Reader(ConstSchema constant) {
}
DynamicValue
::
Reader
::
Reader
(
const
Reader
&
other
)
{
switch
(
type
)
{
switch
(
other
.
type
)
{
case
UNKNOWN
:
case
VOID
:
case
BOOL
:
...
...
@@ -1516,8 +1516,8 @@ DynamicValue::Reader::Reader(const Reader& other) {
memcpy
(
this
,
&
other
,
sizeof
(
*
this
));
}
DynamicValue
::
Reader
::
Reader
(
Reader
&&
other
)
{
switch
(
type
)
{
DynamicValue
::
Reader
::
Reader
(
Reader
&&
other
)
noexcept
{
switch
(
other
.
type
)
{
case
UNKNOWN
:
case
VOID
:
case
BOOL
:
...
...
@@ -1547,7 +1547,7 @@ DynamicValue::Reader::Reader(Reader&& other) {
memcpy
(
this
,
&
other
,
sizeof
(
*
this
));
}
DynamicValue
::
Reader
::~
Reader
()
{
DynamicValue
::
Reader
::~
Reader
()
noexcept
(
false
)
{
if
(
type
==
CAPABILITY
)
{
kj
::
dtor
(
capabilityValue
);
}
...
...
@@ -1569,7 +1569,7 @@ DynamicValue::Reader& DynamicValue::Reader::operator=(Reader&& other) {
}
DynamicValue
::
Builder
::
Builder
(
Builder
&
other
)
{
switch
(
type
)
{
switch
(
other
.
type
)
{
case
UNKNOWN
:
case
VOID
:
case
BOOL
:
...
...
@@ -1602,8 +1602,8 @@ DynamicValue::Builder::Builder(Builder& other) {
memcpy
(
this
,
&
other
,
sizeof
(
*
this
));
}
DynamicValue
::
Builder
::
Builder
(
Builder
&&
other
)
{
switch
(
type
)
{
DynamicValue
::
Builder
::
Builder
(
Builder
&&
other
)
noexcept
{
switch
(
other
.
type
)
{
case
UNKNOWN
:
case
VOID
:
case
BOOL
:
...
...
@@ -1636,7 +1636,7 @@ DynamicValue::Builder::Builder(Builder&& other) {
memcpy
(
this
,
&
other
,
sizeof
(
*
this
));
}
DynamicValue
::
Builder
::~
Builder
()
{
DynamicValue
::
Builder
::~
Builder
()
noexcept
(
false
)
{
if
(
type
==
CAPABILITY
)
{
kj
::
dtor
(
capabilityValue
);
}
...
...
c++/src/capnp/dynamic.h
View file @
90c108ea
...
...
@@ -597,8 +597,8 @@ public:
inline
Reader
(
T
&&
value
)
:
Reader
(
toDynamic
(
kj
::
mv
(
value
)))
{}
Reader
(
const
Reader
&
other
);
Reader
(
Reader
&&
other
);
~
Reader
();
Reader
(
Reader
&&
other
)
noexcept
;
~
Reader
()
noexcept
(
false
)
;
Reader
&
operator
=
(
const
Reader
&
other
);
Reader
&
operator
=
(
Reader
&&
other
);
// Unfortunately, we cannot use the implicit definitions of these since DynamicCapability is not
...
...
@@ -694,8 +694,8 @@ public:
inline
Builder
(
T
value
)
:
Builder
(
toDynamic
(
value
))
{}
Builder
(
Builder
&
other
);
Builder
(
Builder
&&
other
);
~
Builder
();
Builder
(
Builder
&&
other
)
noexcept
;
~
Builder
()
noexcept
(
false
)
;
Builder
&
operator
=
(
Builder
&
other
);
Builder
&
operator
=
(
Builder
&&
other
);
// Unfortunately, we cannot use the implicit definitions of these since DynamicCapability is not
...
...
mega-test-quick.cfg
View file @
90c108ea
linux-gcc-4.7 15
4
4 ./super-test.sh tmpdir capnp-gcc-4.7 quick
linux-gcc-4.8 15
4
7 ./super-test.sh tmpdir capnp-gcc-4.8 quick gcc-4.8
linux-clang 15
6
1 ./super-test.sh tmpdir capnp-clang quick clang
linux-gcc-4.7 15
6
4 ./super-test.sh tmpdir capnp-gcc-4.7 quick
linux-gcc-4.8 15
6
7 ./super-test.sh tmpdir capnp-gcc-4.8 quick gcc-4.8
linux-clang 15
8
1 ./super-test.sh tmpdir capnp-clang quick clang
mac 740 ./super-test.sh remote beat caffeinate quick
cygwin 745 ./super-test.sh remote Kenton@flashman quick
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