Fixed possible dangling references problem

This commit is contained in:
rbock
2014-02-08 00:43:20 +01:00
parent 3a875e794b
commit f7aa56b7dc
12 changed files with 34 additions and 35 deletions

View File

@@ -116,9 +116,9 @@ namespace sqlpp
static Context& _(const T& t, Context& context)
{
context << "DELETE";
interpret(t._from, context);
interpret(t._using, context);
interpret(t._where, context);
interpret(t._from(), context);
interpret(t._using(), context);
interpret(t._where(), context);
return context;
}
};