Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit b0fdc3d

Browse files
committed
dmangle.d: add 'return' to constructor args
1 parent 7ad33fb commit b0fdc3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/demangle.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ pure @safe:
5454
enum AddType { no, yes }
5555

5656

57-
this( const(char)[] buf_, char[] dst_ = null )
57+
this( return const(char)[] buf_, return char[] dst_ = null )
5858
{
5959
this( buf_, AddType.yes, dst_ );
6060
}
6161

6262

63-
this( const(char)[] buf_, AddType addType_, char[] dst_ = null )
63+
this( return const(char)[] buf_, AddType addType_, return char[] dst_ = null )
6464
{
6565
buf = buf_;
6666
addType = addType_;

0 commit comments

Comments
 (0)