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
fbfbccd5
Commit
fbfbccd5
authored
Mar 31, 2014
by
Kenton Varda
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76 from dwrensha/readeroptions
fix some error messages
parents
00c5f916
8df5d72c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
layout.c++
c++/src/capnp/layout.c++
+5
-5
No files found.
c++/src/capnp/layout.c++
View file @
fbfbccd5
...
...
@@ -1658,7 +1658,7 @@ struct WireHelpers {
switch
(
src
->
kind
())
{
case
WirePointer
:
:
STRUCT
:
KJ_REQUIRE
(
nestingLimit
>
0
,
"Message is too deeply-nested or contains cycles. See capnp::ReadOptions."
)
{
"Message is too deeply-nested or contains cycles. See capnp::Read
er
Options."
)
{
goto
useDefault
;
}
...
...
@@ -1678,7 +1678,7 @@ struct WireHelpers {
FieldSize
elementSize
=
src
->
listRef
.
elementSize
();
KJ_REQUIRE
(
nestingLimit
>
0
,
"Message is too deeply-nested or contains cycles. See capnp::ReadOptions."
)
{
"Message is too deeply-nested or contains cycles. See capnp::Read
er
Options."
)
{
goto
useDefault
;
}
...
...
@@ -1826,7 +1826,7 @@ struct WireHelpers {
}
KJ_REQUIRE
(
nestingLimit
>
0
,
"Message is too deeply-nested or contains cycles. See capnp::ReadOptions."
)
{
"Message is too deeply-nested or contains cycles. See capnp::Read
er
Options."
)
{
goto
useDefault
;
}
...
...
@@ -1904,7 +1904,7 @@ struct WireHelpers {
}
KJ_REQUIRE
(
nestingLimit
>
0
,
"Message is too deeply-nested or contains cycles. See capnp::ReadOptions."
)
{
"Message is too deeply-nested or contains cycles. See capnp::Read
er
Options."
)
{
goto
useDefault
;
}
...
...
@@ -2492,7 +2492,7 @@ Data::Reader ListReader::asData() {
StructReader
ListReader
::
getStructElement
(
ElementCount
index
)
const
{
KJ_REQUIRE
(
nestingLimit
>
0
,
"Message is too deeply-nested or contains cycles. See capnp::ReadOptions."
)
{
"Message is too deeply-nested or contains cycles. See capnp::Read
er
Options."
)
{
return
StructReader
();
}
...
...
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