From 5cec98ce33ff05f8f8ff6f66180cddeeb54fab79 Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Tue, 2 Jul 2019 17:51:14 +0200
Subject: [PATCH] Replace istream_input by string_input

This is to be used in unit tests
istream_input may be used in the future to allow interactive use of the code...
---
 src/language/ASTBuilder.cpp | 2 +-
 src/language/ASTBuilder.hpp | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/language/ASTBuilder.cpp b/src/language/ASTBuilder.cpp
index ab30b2aaa..1b7f36b27 100644
--- a/src/language/ASTBuilder.cpp
+++ b/src/language/ASTBuilder.cpp
@@ -268,4 +268,4 @@ buildAST(InputT& input)
 }
 
 template std::unique_ptr<language::Node> buildAST(read_input<>& input);
-template std::unique_ptr<language::Node> buildAST(istream_input<>& input);
+template std::unique_ptr<language::Node> buildAST(string_input<>& input);
diff --git a/src/language/ASTBuilder.hpp b/src/language/ASTBuilder.hpp
index 19adacf16..76388f340 100644
--- a/src/language/ASTBuilder.hpp
+++ b/src/language/ASTBuilder.hpp
@@ -8,7 +8,4 @@
 template <typename InputT>
 std::unique_ptr<language::Node> buildAST(InputT& input);
 
-template <typename InputT>
-std::unique_ptr<language::Node> buildAST(InputT& input);
-
 #endif   // AST_BUILDER_HPP
-- 
GitLab