From ad9850fa7c8c3386dd71df13a70491c59e245439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Wed, 15 Mar 2017 17:08:40 +0100 Subject: [PATCH] Fixed compiler error with GCC. --- include/anthem/Term.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/anthem/Term.h b/include/anthem/Term.h index ba008aa..1782c67 100644 --- a/include/anthem/Term.h +++ b/include/anthem/Term.h @@ -72,7 +72,7 @@ struct TermTranslateVisitor function->arguments.emplace_back(std::move(translatedArgument.value())); } - return function; + return std::move(function); } default: throwErrorAtLocation(term.location, "symbol type not supported", context);