From cddbfa3ade23695dd9996f6e208615702a3a42e1 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Thu, 23 Nov 2023 09:53:38 +0100 Subject: [PATCH 1/2] normalization: No longer work around compiler bugs in Precondition. To: Patrick Lühne Cc: Martin Gebser Newer versions of GCC (such as GCC 11) point out that std::move is meaningless in this position, so remove it. --- lib/pddl/src/pddl/detail/normalization/Precondition.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/pddl/src/pddl/detail/normalization/Precondition.cpp b/lib/pddl/src/pddl/detail/normalization/Precondition.cpp index 4eebfee..4297e52 100644 --- a/lib/pddl/src/pddl/detail/normalization/Precondition.cpp +++ b/lib/pddl/src/pddl/detail/normalization/Precondition.cpp @@ -83,8 +83,7 @@ normalizedAST::Literal normalizeNested(ast::AndPointer &and_, derivedPredicate->declaration->precondition = std::make_unique>(std::move(normalizedArguments)); - // TODO: investigate, could be a compiler bug - return std::move(derivedPredicate); + return derivedPredicate; } //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -112,8 +111,7 @@ normalizedAST::Literal normalizeNested(ast::ExistsPointer &ex return normalizeTopLevel(x, normalizationContext); }); - // TODO: investigate, could be a compiler bug - return std::move(derivedPredicate); + return derivedPredicate; } //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -174,8 +172,7 @@ normalizedAST::Literal normalizeNested(ast::OrPointer &or_, d derivedPredicate->declaration->precondition = std::make_unique>(std::move(normalizedArguments)); - // TODO: investigate, could be a compiler bug - return std::move(derivedPredicate); + return derivedPredicate; } //////////////////////////////////////////////////////////////////////////////////////////////////// -- 2.41.0 467d752d1db61f7d6c63aa9'>gnu/packages/aux-files/renpy
AgeCommit message (Expand)Author
2024-02-25gnu: renpy: Update to 8.2.0....* gnu/packages/aux-files/renpy/renpy.in (path-to-saves): Honour RENPY_PATH_TO_SAVES. (path_to_logdir, predefined_searchpath): New procedures. * gnu/packages/game-development.scm (python-renpy): Update to 8.2.0. Liliana Marie Prikler