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

Commit

Permalink
Merge pull request #2452 from WalterBright/demangle-return
Browse files Browse the repository at this point in the history
dmangle.d: add 'return' to constructor args
merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
  • Loading branch information
dlang-bot authored Jan 9, 2019
2 parents 7ad33fb + b0fdc3d commit 82fee29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/demangle.d
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ pure @safe:
enum AddType { no, yes }


this( const(char)[] buf_, char[] dst_ = null )
this( return const(char)[] buf_, return char[] dst_ = null )
{
this( buf_, AddType.yes, dst_ );
}


this( const(char)[] buf_, AddType addType_, char[] dst_ = null )
this( return const(char)[] buf_, AddType addType_, return char[] dst_ = null )
{
buf = buf_;
addType = addType_;
Expand Down

0 comments on commit 82fee29

Please sign in to comment.