Permalink
Browse files

Some more const(T)[][] stragglers

  • Loading branch information...
1 parent c85f9fa commit d7f9b6453cc0e47d0478c77b1e900e298c6736d3 @SiegeLord committed Feb 19, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 tango/text/Util.d
View
@@ -608,7 +608,7 @@ T[] lineOf(T) (T[] src, size_t index)
******************************************************************************/
-T[] join(T) (const(T)[][] src, const(T)[] postfix=null, T[] dst=null)
+T[] join(T) (const(T[])[] src, const(T)[] postfix=null, T[] dst=null)
{
return combine!(T) (dst, null, postfix, src);
}
@@ -628,7 +628,7 @@ T[] join(T) (const(T)[][] src, const(T)[] postfix=null, T[] dst=null)
******************************************************************************/
-T[] prefix(T) (T[] dst, const(T)[] prefix, const(T)[][] src...)
+T[] prefix(T) (T[] dst, const(T)[] prefix, const(T[])[] src...)
{
return combine!(T) (dst, prefix, null, src);
}
@@ -648,7 +648,7 @@ T[] prefix(T) (T[] dst, const(T)[] prefix, const(T)[][] src...)
******************************************************************************/
-T[] postfix(T) (T[] dst, const(T)[] postfix, const(T)[][] src...)
+T[] postfix(T) (T[] dst, const(T)[] postfix, const(T[])[] src...)
{
return combine!(T) (dst, null, postfix, src);
}
@@ -668,7 +668,7 @@ T[] postfix(T) (T[] dst, const(T)[] postfix, const(T)[][] src...)
******************************************************************************/
-T[] combine(T) (T[] dst, const(T)[] prefix, const(T)[] postfix, const(T)[][] src ...)
+T[] combine(T) (T[] dst, const(T)[] prefix, const(T)[] postfix, const(T[])[] src ...)
{
size_t len = src.length * prefix.length +
src.length * postfix.length;
@@ -985,7 +985,7 @@ QuoteFruct!(T, M) quotes(T, M) (T[] src, const(M)[] set)
*******************************************************************************/
-T[] layout(T) (T[] output, const(T)[][] layout ...)
+T[] layout(T) (T[] output, const(T[])[] layout ...)
{
const(T)[] badarg = cast(const(T)[])"{index out of range}";
const(T)[] toosmall = cast(const(T)[])"{output buffer too small}";

0 comments on commit d7f9b64

Please sign in to comment.