mirror of https://github.com/adamdruppe/arsd.git
another bug fix.
appending a CreatedQuery to a string was done incorrectly
This commit is contained in:
parent
62522d1d24
commit
96ddd0dfbe
|
@ -56,6 +56,8 @@ struct CreatedQuery {
|
||||||
|
|
||||||
CreatedQuery opBinaryRight(string op)(string left) if(op=="~") {
|
CreatedQuery opBinaryRight(string op)(string left) if(op=="~") {
|
||||||
CreatedQuery res=this;
|
CreatedQuery res=this;
|
||||||
|
if(left.length && query.length)
|
||||||
|
left~=prepend;
|
||||||
res.query=left~res.query;
|
res.query=left~res.query;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue