This commit is contained in:
Robert Klotzner 2013-01-11 15:04:51 -08:00
commit 6b7245b4a5
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ struct CreatedQuery {
CreatedQuery opBinaryRight(string op)(string left) if(op=="~") {
CreatedQuery res=this;
if(left.length && query.length)
left~=prepend;
res.query=left~res.query;
return res;
}