Skip to content

Commit 1222b9f

Browse files
Fix deprecation
1 parent 6064461 commit 1222b9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/google/protobuf/internal.d

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct Varint
1212

1313
this(long value)
1414
out { assert(_length > 0); }
15-
body
15+
do
1616
{
1717
size_t encodingLength(long value)
1818
{
@@ -45,7 +45,7 @@ struct Varint
4545

4646
ubyte opIndex(size_t index) const
4747
in { assert(index < _length); }
48-
body
48+
do
4949
{
5050
auto result = value >>> (index * 7);
5151

@@ -57,7 +57,7 @@ struct Varint
5757

5858
@property size_t length() const
5959
in { assert(index <= _length); }
60-
body
60+
do
6161
{
6262
return _length - index;
6363
}

0 commit comments

Comments
 (0)