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
3e0aae88
Commit
3e0aae88
authored
Jun 03, 2017
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos
parent
b3cfd6be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
array.h
c++/src/kj/array.h
+1
-1
No files found.
c++/src/kj/array.h
View file @
3e0aae88
...
@@ -330,7 +330,7 @@ public:
...
@@ -330,7 +330,7 @@ public:
}
}
ArrayBuilder
(
Array
<
T
>&&
other
)
ArrayBuilder
(
Array
<
T
>&&
other
)
:
ptr
(
other
.
ptr
),
pos
(
other
.
ptr
+
other
.
size_
),
endPtr
(
pos
),
disposer
(
other
.
disposer
)
{
:
ptr
(
other
.
ptr
),
pos
(
other
.
ptr
+
other
.
size_
),
endPtr
(
pos
),
disposer
(
other
.
disposer
)
{
// Create an already-full ArrayBu
lider from an Arar
y of the same type. This constructor
// Create an already-full ArrayBu
ilder from an Arra
y of the same type. This constructor
// primarily exists to enable Vector<T> to be constructed from Array<T>.
// primarily exists to enable Vector<T> to be constructed from Array<T>.
other
.
ptr
=
nullptr
;
other
.
ptr
=
nullptr
;
other
.
size_
=
0
;
other
.
size_
=
0
;
...
...
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