aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/root/rmem.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/dmd/root/rmem.d')
-rw-r--r--gcc/d/dmd/root/rmem.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/dmd/root/rmem.d b/gcc/d/dmd/root/rmem.d
index 1965207..c6986c0 100644
--- a/gcc/d/dmd/root/rmem.d
+++ b/gcc/d/dmd/root/rmem.d
@@ -318,7 +318,7 @@ Params:
Returns: A null-terminated copy of the input array.
*/
-extern (D) char[] xarraydup(const(char)[] s) pure nothrow
+extern (D) char[] xarraydup(scope const(char)[] s) pure nothrow
{
if (!s)
return null;