Skip to content

Commit

Permalink
Update method name in error string.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBrixLarsen committed Jun 26, 2017
1 parent 59997ae commit 25de7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/capnproto/WireHelpers.d
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ package:

static T getWritableListPointer(T)(int origRefOffset, SegmentBuilder* origSegment, byte elementSize, SegmentReader* defaultSegment, int defaultOffset)
{
assert(elementSize != ElementSize.INLINE_COMPOSITE, "Use getStructList{Element,Field} for structs.");
assert(elementSize != ElementSize.INLINE_COMPOSITE, "Use getWritableStructListPointer() for struct lists.");

long origRef = origSegment.get(origRefOffset);
int origRefTarget = WirePointer.target(origRefOffset, origRef);
Expand Down

0 comments on commit 25de7ae

Please sign in to comment.