~zorba-coders/zorba/bug-1189803

« back to all changes in this revision

Viewing changes to src/compiler/expression/fo_expr.cpp

  • Committer: Luis Rodriguez Gonzalez
  • Date: 2013-09-19 14:00:22 UTC
  • mfrom: (11612.1.19 lp_zorba)
  • Revision ID: kuraru@gmail.com-20130919140022-tw41ekb6ey16xbxi
MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include <vector>
19
19
 
 
20
#include <zorba/internal/unique_ptr.h>
 
21
 
20
22
#include "compiler/expression/fo_expr.h"
21
23
#include "compiler/expression/expr_visitor.h"
22
24
#include "compiler/expression/expr_manager.h"
64
66
{
65
67
  function* f = GENV_FUNC_LIB->getFunction(FunctionConsts::OP_CONCATENATE_N);
66
68
 
67
 
  std::auto_ptr<fo_expr> fo(ccb->theEM->create_fo_expr(sctx, udf, loc, f));
 
69
  std::unique_ptr<fo_expr> fo(ccb->theEM->create_fo_expr(sctx, udf, loc, f));
68
70
 
69
71
  return fo.release();
70
72
}