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
5c286179
Commit
5c286179
authored
Apr 24, 2017
by
David Renshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update method names in error messages
parent
cfd813e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
layout.c++
c++/src/capnp/layout.c++
+3
-3
No files found.
c++/src/capnp/layout.c++
View file @
5c286179
...
...
@@ -1219,7 +1219,7 @@ struct WireHelpers {
SegmentBuilder
*
origSegment
,
CapTableBuilder
*
capTable
,
ElementSize
elementSize
,
const
word
*
defaultValue
,
BuilderArena
*
orphanArena
=
nullptr
))
{
KJ_DREQUIRE
(
elementSize
!=
ElementSize
::
INLINE_COMPOSITE
,
"Use get
StructList{Element,Field}() for struc
ts."
);
"Use get
WritableStructListPointer() for struct lis
ts."
);
if
(
origRef
->
isNull
())
{
useDefault
:
...
...
@@ -1242,7 +1242,7 @@ struct WireHelpers {
word
*
ptr
=
followFars
(
ref
,
origRefTarget
,
segment
);
KJ_REQUIRE
(
ref
->
kind
()
==
WirePointer
::
LIST
,
"Called get
List{Field,Element}
() but existing pointer is not a list."
)
{
"Called get
WritableListPointer
() but existing pointer is not a list."
)
{
goto
useDefault
;
}
...
...
@@ -1362,7 +1362,7 @@ struct WireHelpers {
word
*
ptr
=
followFars
(
ref
,
origRefTarget
,
segment
);
KJ_REQUIRE
(
ref
->
kind
()
==
WirePointer
::
LIST
,
"Called get
List{Field,Element}
() but existing pointer is not a list."
)
{
"Called get
WritableListPointerAnySize
() but existing pointer is not a list."
)
{
goto
useDefault
;
}
...
...
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