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
21b98dad
Commit
21b98dad
authored
Apr 04, 2015
by
joshuawarner32@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use KJ_UNREACHABLE
parent
41e87ab5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
any.c++
c++/src/capnp/any.c++
+7
-1
No files found.
c++/src/capnp/any.c++
View file @
21b98dad
...
...
@@ -187,7 +187,7 @@ StructEqualityResult AnyPointer::Reader::equals(AnyPointer::Reader right) {
return
StructEqualityResult
::
UNKNOWN_CONTAINS_CAPS
;
default
:
// There aren't currently any other types of pointers
KJ_
FAIL_REQUIRE
()
;
KJ_
UNREACHABLE
;
}
}
...
...
@@ -199,6 +199,8 @@ bool AnyPointer::Reader::operator ==(AnyPointer::Reader right) {
return
false
;
case
StructEqualityResult
:
:
UNKNOWN_CONTAINS_CAPS
:
KJ_FAIL_REQUIRE
();
default
:
KJ_UNREACHABLE
;
}
}
...
...
@@ -210,6 +212,8 @@ bool AnyStruct::Reader::operator ==(AnyStruct::Reader right) {
return
false
;
case
StructEqualityResult
:
:
UNKNOWN_CONTAINS_CAPS
:
KJ_FAIL_REQUIRE
();
default
:
KJ_UNREACHABLE
;
}
}
...
...
@@ -221,6 +225,8 @@ bool AnyList::Reader::operator ==(AnyList::Reader right) {
return
false
;
case
StructEqualityResult
:
:
UNKNOWN_CONTAINS_CAPS
:
KJ_FAIL_REQUIRE
();
default
:
KJ_UNREACHABLE
;
}
}
...
...
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