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 8c7a071b3517ddc1d3ea1585c991'>packages/pl.po
AgeCommit message (Expand)Author
2022-04-02nls: Update translations....* po/packages/fi.po: New file. * po/packages/LINGUAS: Add it. Julien Lepiller
2022-03-01nls: Update translations....* po/doc/guix-cookbook.uk.po: New file. * po/doc/local.mk: Add uk cookbook. * doc/local.mk: Add uk cookbook. * po/guix/fa.po: New file. * po/guix/uk.po: New file. * po/guix/LINGUAS: Add fa and uk. Julien Lepiller
2022-02-04nls: Update translations....* po/doc/guix-cookbook.pt_BR.po: New file. * po/doc/local.mk: Add it. * doc/local.mk: Add pt_BR cookbook. Julien Lepiller
2022-01-09nls: Update translations....* po/doc/guix-cookbook.fi.po: New file. * po/doc/guix-manual.fi.po: New file. * po/doc/local.mk: Add them. * doc/local.mk: Add them. * po/guix/fi.po: New file. * po/guix/LINGUAS: Add it. Julien Lepiller
2021-12-04nls: Update translations.Julien Lepiller
2021-11-06nls: Update translations....* po/doc/guix-cookbook.es.po: New file. * po/doc/local.mk: Add 'es' cookbook. * doc/local.mk: Add 'es' cookbook. Julien Lepiller
2021-10-17nls: Update translations.Julien Lepiller
2021-09-02nls: Update translations....* po/packages/it.po: New file. * po/packages/LINGUAS: Add `it'. * po/*/*.po: Update translations. Julien Lepiller
2021-08-04nls: Update translations....* po/doc/guix-cookbook.ru.po: New file. * po/doc/guix-cookbook.sk.po: New file. * po/*/*.po: Update translations. * doc/local.mk (COOKBOOK_LANGUAGES): Add ru and sk. (info_TEXINFOS): Add Russian and Slovak cookbooks. * po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add Russian and Slovak po files. Julien Lepiller
2021-05-10nls: Update translations.Maxim Cournoyer
2021-04-18nls: Update 'pl' translations.Julien Lepiller