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
ca1ecb04
Commit
ca1ecb04
authored
Jan 11, 2018
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix infinite recursion in Data::Builder::asReader() on new Clang.
parent
fa2be8e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
blob.h
c++/src/capnp/blob.h
+3
-1
No files found.
c++/src/capnp/blob.h
View file @
ca1ecb04
...
...
@@ -101,7 +101,9 @@ public:
inline
Builder
(
kj
::
Array
<
byte
>&
value
)
:
ArrayPtr
<
byte
>
(
value
)
{}
inline
Builder
(
ArrayPtr
<
byte
>
value
)
:
ArrayPtr
<
byte
>
(
value
)
{}
inline
Data
::
Reader
asReader
()
const
{
return
Data
::
Reader
(
*
this
);
}
inline
Data
::
Reader
asReader
()
const
{
return
Data
::
Reader
(
kj
::
implicitCast
<
const
kj
::
ArrayPtr
<
byte
>&>
(
*
this
));
}
inline
operator
Reader
()
const
{
return
asReader
();
}
};
...
...
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