From 108c51cf281365b7be8987987d7d2186a7d2e32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Tue, 11 Apr 2017 16:59:58 +0200 Subject: [PATCH] Fixed Variant move semantic issue with older compilers. --- include/anthem/AST.h | 8 ++++---- lib/clingo | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/anthem/AST.h b/include/anthem/AST.h index 51e3ac2..1e5cf60 100644 --- a/include/anthem/AST.h +++ b/include/anthem/AST.h @@ -111,8 +111,8 @@ struct Constant Constant(const Constant &other) = delete; Constant &operator=(const Constant &other) = delete; - Constant(Constant &&other) noexcept = default; - Constant &operator=(Constant &&other) noexcept = default; + Constant(Constant &&other) = default; + Constant &operator=(Constant &&other) = default; std::string name; }; @@ -286,8 +286,8 @@ struct Variable Variable(const Variable &other) = delete; Variable &operator=(const Variable &other) = delete; - Variable(Variable &&other) noexcept = default; - Variable &operator=(Variable &&other) noexcept = default; + Variable(Variable &&other) = default; + Variable &operator=(Variable &&other) = default; std::string name; Type type; diff --git a/lib/clingo b/lib/clingo index 37ab4d7..53492d9 160000 --- a/lib/clingo +++ b/lib/clingo @@ -1 +1 @@ -Subproject commit 37ab4d75aec7f565542b517e9d224b89406c78d6 +Subproject commit 53492d9878c77e8d4ae0db1ce7ef07aba5d9d911