[Kaleidoscope] Fix a typo in Chapter 5.
[oota-llvm.git] / docs / tutorial / LangImpl5.rst
index 7b8c29a1977f9092efaa07313e8eb3228492c930..978bdcbb125248f6df847fe57e2235b93049cd31 100644 (file)
@@ -97,7 +97,7 @@ To represent the new expression we add a new AST node for it:
 
     /// IfExprAST - Expression class for if/then/else.
     class IfExprAST : public ExprAST {
-      std::unique<ExprAST> Cond, Then, Else;
+      std::unique_ptr<ExprAST> Cond, Then, Else;
 
     public:
       IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,